[Python-Dev] PEP 370 - per-user scripts directory on Windows

Glenn Linderman v+python at g.nevcal.com
Thu Feb 12 20:44:16 CET 2015


On 2/12/2015 9:39 AM, Ethan Furman wrote:
> On 02/12/2015 12:05 AM, Thomas Heller wrote:
>
>> Could not py.exe be extended so that it allows starting scripts in a
>> somewhat similar way?  'py-script -2.7 myscript foo bar baz' ???
>> Which would execute the script myscript.exe, myscript.bat, myscript.py,
>> myscript.cmd or whatever is in the Scripts directory on the Python 2.7
>> installation, without changing PATH presistently?
> I'm pretty sure py.exe should only start .py files, not .bat, .cmd, or .anything-else.
>

IIRC, it already can be configured to start other things. I think I even 
used it for that early on in Vinay's development cycle, just to prove 
it, although the things I used it for then were not things I'm still doing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150212/514a3775/attachment.html>


More information about the Python-Dev mailing list