A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-November/057977.html below:

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

[Python-Dev] Inconsistent behaviour in import/zipimport hooksBob Ippolito 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?

-bob

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4