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/2004-September/049145.html below:

[Python-Dev] Running a module as a script

[Python-Dev] Running a module as a script [Python-Dev] Running a module as a scriptThomas Heller theller at python.net
Thu Sep 30 16:31:22 CEST 2004
Aahz <aahz at pythoncraft.com> writes:

> On Thu, Sep 30, 2004, Nick Coghlan wrote:
>>
>> The allowed modules are those whose associated source file meet the
>> normal rules for a command line script. I believe that means .py
>> and .pyc files only (e.g. "python -m profile" works, but "python -m
>> hotshot" does not).
>
> Not positive, but if you're allowing .pyc, you should probably allow
> .pyo if optimize mode is on.

Plus .pyw, on Windows.

Thomas

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