osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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