4 ms·
Python also understands zip format for modules. So you run zip -r mymodule.zip mymodule/ and you have the same portability as you have with jar. For bonus poi
by jackweirdy 13y ago
Python also understands zip format for modules. So you run
zip -r mymodule.zip mymodule/
and you have the same portability as you have with jar. For bonus points, you can append that zip to a copy of the python executable (either python.exe or whatever binary your OS uses) and it is available as a module for that instance of python. This is one way standalone Python program executables are distributed.
(this was only tangentially related, but I think it's cool. I may also be wrong)