Eryk Sun added the comment: By shortcut I'm guessing you mean a batch file. A regular .LNK shortcut works fine if .LNK is in PATHEXT. I sometimes use a shortcut when I need to set the default to "Run as administrator". (I add a "runas" verb to the ProgIds to add this option to the menu for .PY, .PYZ, .PYW, and .PYWZ files, but the shell doesn't allow setting the default in the advanced properties like with a shortcut.)
An alternative to adding Python to PATH is to use the py launcher and virtual environments. This is especially useful when you have multiple versions installed. ---------- stage: -> resolved _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26189> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com