[Python-Dev] Inconsistent behaviour in import/zipimport hooks

Bob Ippolito bob at redivi.com
Wed Nov 9 22:38:33 CET 2005


On Nov 9, 2005, at 1:22 PM, Bill Janssen wrote:

> It's a shame that
>
> 1)  there's no equivalent of "java -jar", i.e., "python -z  
> FILE.ZIP", and

This should work on a few platforms:
env PYTHONPATH=FILE.zip python -m some_module_in_the_zip

-bob



More information about the Python-Dev mailing list