[Python-Dev] Status of PEP 397 - Python launcher for Windows

Mark Hammond skippy.hammond at gmail.com
Tue Feb 21 23:58:14 CET 2012


On 22/02/2012 2:50 AM, Vinay Sajip wrote:
> Mark Hammond<skippy.hammond<at> gmail.com> writes:
>>> think there is something that could be added to those docs - the use of
>> PATHEXT and the fact that once the shebang line is in place, a
>> command-prompt could do just "hello.py" rather than needing "py hello.py".
>> Or even just "hello" should work.

Ooops - right. IIRC, "hello.py" will work without anything special in 
PATHEXT and just "hello" would work with a modified PATHEXT.
Mark


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /