Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42019
| From | Tom P <werotizy@freent.dd> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: The usage of -m option of python |
| Date | 2013-03-27 18:06 +0100 |
| Message-ID | <argn7tFobh0U2@mid.individual.net> (permalink) |
| References | <mailman.3476.1363641451.2939.python-list@python.org> |
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