'-m' option (was RE: [Python-Dev] ConfigParser patches) (original) (raw)

Nick Coghlan ncoghlan at email.com
Mon Oct 4 23:21:41 CEST 2004


Quoting Nick Coghlan <ncoghlan at email.com>:

Using -m, those become:

Installed: python -m profile demo.py

OK, of course Python 2.3 doesn't have a '-m' switch. Consider the example to start with the first version to ship with '-m' installed.

For actual Python 2.3, this would obviously have to use the absolute path, or some flavour of Guido's script (probably ~/runpy, since that is handiest).

Cheers, Nick.

-- Nick Coghlan Brisbane, Australia



More information about the Python-Dev mailing list