Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42019
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.erje.net!eu.feeder.erje.net!137.226.231.214.MISMATCH!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Tom P <werotizy@freent.dd> |
| Newsgroups | comp.lang.python |
| Subject | Re: The usage of -m option of python |
| Date | Wed, 27 Mar 2013 18:06:04 +0100 |
| Lines | 17 |
| Message-ID | <argn7tFobh0U2@mid.individual.net> (permalink) |
| References | <mailman.3476.1363641451.2939.python-list@python.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net M1zlk9PRl8X8NY7ZRM0s9grD6bc742WORVgLqe3MB0FcWHexo= |
| Cancel-Lock | sha1:LEZKDExZsUXbP/iYRPOE3cO48f0= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 |
| In-Reply-To | <mailman.3476.1363641451.2939.python-list@python.org> |
| Xref | csiph.com comp.lang.python:42019 |
Show key headers only | View raw
On 03/18/2013 10:17 PM, Peng Yu wrote: > Hi, > > I don't quite understand how -m option is used. And it is difficult to > search for -m in google. Could anybody provide me with an example on > how to use this option? Thanks! > > -m module-name > Searches sys.path for the named module and runs the > corresponding .py file as a script. > The most practical use I know is to run the debug program.. python -mpdb yourprogramm.py arguments..
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
The usage of -m option of python Peng Yu <pengyu.ut@gmail.com> - 2013-03-18 16:17 -0500 Re: The usage of -m option of python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-19 07:06 +0000 Re: The usage of -m option of python Tom P <werotizy@freent.dd> - 2013-03-27 18:06 +0100
csiph-web