Re:Python has brought computer programming to a vast new aud...
by Barrin92 on Thursday July 19, 2018 @06:40PM
(#17570972)
agreed with all the posts above, the only real letdown for me was always the difficulty to produce standalone executables. I would really love a python equivalent to uberjars or go's build tool.
[ Parent
| on HN ]
Re:Python has brought computer programming to a vast new aud...
by StavrosK on Thursday July 19, 2018 @07:22PM
(#17571222)
I recently used PyInstaller to wrap Black (the code formatter) and it worked perfectly in two minutes. Literally one command to take the whole script and produce a standalone executable. There's also something like this: https://build-system.fman.io/
Re:Python has brought computer programming to a vast new aud...
by talltimtom on Friday July 20, 2018 @07:58AM
(#17574257)
The thing about pyInstaller is that it works absolutely perfectly... until it doesn’t. In which case you are stuck spending days on trying to kick everything in your project into shape with the hope of it working.
That is what I hate most about Python, there is only one sure-fire way of doing packaging and that’s setting it up even before you write your first line of code and the testing constantly as your project evolves.
Myself and others have absolutely no trust in the several build pathways because they all fail horrible for a wide range of reasons. To the counter, if I have a C++ or C# project I’m very confident that it will almost always be a breeze to package it up.
Re:Python has brought computer programming to a vast new aud...
by devmacrile on Friday July 20, 2018 @12:15PM
(#17576320)
This was circulating around HN a few days ago: https://github.com/facebookincubator/xar