Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: The usage of -m option of python

Reply
Thread Tools

Re: The usage of -m option of python

 
 
Chris Angelico
Guest
Posts: n/a
 
      03-18-2013
On Tue, Mar 19, 2013 at 8:17 AM, Peng Yu <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: The usage of -m option of python Terry Reedy Python 2 04-08-2013 06:47 PM
Re: The usage of -m option of python Terry Reedy Python 0 03-27-2013 05:52 PM
The usage of -m option of python Peng Yu Python 1 03-27-2013 05:06 PM
Re: The usage of -m option of python Modulok Python 0 03-18-2013 10:34 PM
g++ -pg option and -shared option Julien ROUZIERES C++ 1 12-21-2004 02:30 PM



Advertisments