Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41462 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2013-03-19 08:35 +1100 |
| Last post | 2013-03-19 08:35 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: The usage of -m option of python Chris Angelico <rosuav@gmail.com> - 2013-03-19 08:35 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2013-03-19 08:35 +1100 |
| Subject | Re: The usage of -m option of python |
| Message-ID | <mailman.3478.1363642507.2939.python-list@python.org> |
On Tue, Mar 19, 2013 at 8:17 AM, Peng Yu <pengyu.ut@gmail.com> 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. Well, I just searched for 'python m module', but I agree it's not easy. Anyway, Google read my mind and returned this: http://www.python.org/dev/peps/pep-0338/ ChrisA
Back to top | Article view | comp.lang.python
csiph-web