Why Python is not both an interpreter and a compiler?
Chris Angelico
rosuav at gmail.com
Tue Sep 1 13:06:06 EDT 2015
On Wed, Sep 2, 2015 at 2:20 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> In fact, the shebang notation turns any single .py file into such an
> executable. The problem is if you break your program into modules. Java,
> of course, solved a similar problem with .jar files (but still wouldn't
> jump over the final hurdle of making the .jar files executable).
The time machine strikes again! Python supports zip file execution,
which gives you the same benefit as a .jar file, plus you can slap on
a shebang and run the whole thing!
Anyone for some pyzza?
https://www.python.org/dev/peps/pep-0441/
ChrisA
More information about the Python-list
mailing list