Nick Coghlan added the comment: I've checked in friendlier error messages as r60955
Examples (paths somewhat redacted): $ ./python bob ./python: can't open file 'bob': [Errno 2] No such file or directory $ ./python . /devel/python/python: can't find '__main__.py' in '.' $ ./python Lib /devel/python/python: can't find '__main__.py' in 'Lib' $ ./python -m bob /devel/python/python: No module named bob $ ./python -m sys /devel/python/python: No code object available for sys $ ./python -m __main__ /devel/python/python: No code object available for __main__ ---------- resolution: -> fixed status: open -> closed __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1877> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com