Author CZ
Recipients CZ
Date 2010-12-12.22:38:43
SpamBayes Score 9.48891e-06
Marked as misclassified No
Message-id <>
when pydoc is run with "python -m" (e.g., "python -m pydoc map"),
you will receive an error message: No module named tempfile.

The reason is pydoc removes 'C:\Python26\lib' (in my case) from sys.path.

But you can run it as "python <full path to>" because the lib directory appears twice in the sys.path in such situation.
Date User Action Args
2010-12-12 22:38:45CZsetrecipients: + CZ
2010-12-12 22:38:45CZsetmessageid: <>
2010-12-12 22:38:43CZlinkissue10688 messages
2010-12-12 22:38:43CZcreate