Python bytecode compatibility between interpreter versions

Jon Perez jbperez808 at yahoo.com
Sun Mar 21 11:37:57 EST 2004


Roger Binns wrote:


> Modulo other dependencies also being installed as well.
> 
> You can do the same thing with Python.  Just package up the source
> files as a zip.
> 
>    $ PYTHONPATH=example.zip python main.py

Just like Java's CLASSPATH (and possibly inspired by it)... this is a
great tip.  Does it work on Windows as well?  And how about .tar.gz,
.tar.bz or .gzip files?



More information about the Python-list mailing list