[Python-Dev] Inconsistent behaviour in import/zipimport hooks
bob at redivi.com
Wed Nov 9 22:55:04 CET 2005
On Nov 9, 2005, at 1:48 PM, Thomas Heller wrote:
> Bob Ippolito <bob at redivi.com> writes:
>> 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
> It should, yes - but it doesn't: -m doesn't work with zipimport.
That's dumb, someone should fix that. Is there a bug filed?
More information about the Python-Dev