Re: ImportError: "No Module named xxx"

2007-07-06 Thread John Machin
On Jul 7, 7:37 am, Robert Dailey <[EMAIL PROTECTED]> wrote: > On Jul 6, 4:04 pm, Bjoern Schliessmann > > > [EMAIL PROTECTED]> wrote: > > Robert Dailey wrote: > > > The description of -m is confusing in the documentation, what does > > > it really do? > > > IMHO, it's quite clear. What's unclear wi

Re: ImportError: "No Module named xxx"

2007-07-06 Thread Robert Dailey
On Jul 6, 4:04 pm, Bjoern Schliessmann wrote: > Robert Dailey wrote: > > The description of -m is confusing in the documentation, what does > > it really do? > > IMHO, it's quite clear. What's unclear with this description: > > -m module-nameSearches sys.path for the named module and runs >

Re: ImportError: "No Module named xxx"

2007-07-06 Thread Bjoern Schliessmann
Robert Dailey wrote: > The description of -m is confusing in the documentation, what does > it really do? IMHO, it's quite clear. What's unclear with this description: -m module-nameSearches sys.path for the named module and runs the corresponding .py file as a script. Reg

Re: ImportError: "No Module named xxx"

2007-07-06 Thread Robert Dailey
Never mind, I found the problem. I was doing: python -m compile.py I really should have been doing: python compile.py The description of -m is confusing in the documentation, what does it really do? -- http://mail.python.org/mailman/listinfo/python-list