The usage of -m option of python

Peng Yu pengyu.ut at
Mon Mar 18 22:17:27 CET 2013


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.


More information about the Python-list mailing list