Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41460
| Date | 2013-03-18 16:17 -0500 |
|---|---|
| Subject | The usage of -m option of python |
| From | Peng Yu <pengyu.ut@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3476.1363641451.2939.python-list@python.org> (permalink) |
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.
--
Regards,
Peng
Back to comp.lang.python | Previous | Next — Next 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