4 ms·
Solve "How to deploy my sweet Python script on grandma's computer" problem. That is some reasonable way to deploy to someone who is not a programmer nor tech p
by sireat 6y ago
Solve "How to deploy my sweet Python script on grandma's computer" problem.
That is some reasonable way to deploy to someone who is not a programmer nor tech person.
Not sure how much has changed since this was written: http://effbot.org/pyfaq/can-python-be-compiled-to-machine-code-c-or-some-other-language.htm http://effbot.org/pyfaq/can-python-be-compiled-to-machine-co...
PyInstaller.. well.. it works okay with std.. sometimes it does not. It is the Electron solution.. add pandas to a project and you get a 600MB install.
As developers we can manage to deal with package managers.
- Pxtl 6y agoSuch a shame things like that used to be simple - Py2Exe was fine and Windows didn't freak the hell out at the sight of an unsigned binary.
- askvictor 6y agoIn the education space (where Python is pretty big), the biggest problem we have is that Python code isn't 'shareable' so it's hard for kids to show off their creations to Grandma. Sure, there are some products which work to work around that (like repl.it), but the core problem remains - a student can't easily get their Python program to run on an arbitrary computer. It's why I'm very tempted to move to JS for teaching, despite all of the dragons lurking there.
- floydnoel 6y agoI agree, it’s one of the reasons I stopped teaching my kids Python and switched to JS. It is so easy to share and so portable, and runs everywhere!
- benhurmarcel 6y agoNot just to grandma. I have trouble deploying my scripts to my colleagues.