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.. -- http://mail.python.org/mailman/listinfo/python-list