[issue1626300] 'Installing Python Modules' does not work for Windows

Jason R. Coombs report at bugs.python.org
Tue Jul 26 18:14:18 CEST 2011


Jason R. Coombs <jaraco at jaraco.com> added the comment:

> > Script run without extensions when run with an explicit python
> > command.
> Like “python.exe setup” when the file really is setup.py?  I’d
> never have guessed that.

No. Python.exe expects the full path. The only way to execute scripts without the extension is if PATHEXT specifies extension and you invoke the script itself, in which case the default handler (for that extension) will be invoked on that file.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1626300>
_______________________________________


More information about the Python-bugs-list mailing list