[issue23633] Improve py launcher help, index, and doc

2021-03-12 Thread Eryk Sun
Eryk Sun added the comment: The current help text attempts to explain point 2, in terms of an active virtual environment, shebangs, the PY_PYTHON[2|3] environment variables, and the py.ini [defaults]. It's a lot to say succinctly in a few lines of text. A shortened URL that links to the docs

[issue23633] Improve py launcher help, index, and doc

2015-03-21 Thread Nick Coghlan
Nick Coghlan added the comment: Given its Windows specific nature, I'll always defer to Steve and the other Windows devs when it comes to the launcher. My main involvement (aside from general mailing list commentary) was asking Vinay to bring the independently distributed version under the PyP

[issue23633] Improve py launcher help, index, and doc

2015-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: C:\Users\Terry>notepad %localappdata% "Access denied" "Alongside the EXE" is not fine. I only knew to look in C:/Windows because I have using DOS/Windoes since the early 80s (and there is still much that I do not know, like 'icacls'), and I believe there was

[issue23633] Improve py launcher help, index, and doc

2015-03-11 Thread Steve Dower
Steve Dower added the comment: For a per-user install, the launcher does not go in C:\Windows (note that Python 3.4 does not really have per-users installs). The correct location for the ini file in every case is alongside the executable, and it must always be named "py.ini". py.exe is put in

[issue23633] Improve py launcher help, index, and doc

2015-03-11 Thread eryksun
eryksun added the comment: > Specifying %LOCALAPPDATA% should be sufficient, though > %USERPROFILE% (e.g. C:\Users\Steve) would also be okay. The command using %USERPROFILE% was for XP (NT 5.1), since the %LOCALAPPDATA% environment variable was added in Vista (NT 6.0). > %ProgramData% is not

[issue23633] Improve py launcher help, index, and doc

2015-03-11 Thread eryksun
eryksun added the comment: > Good idea, but what do 'NT5' and 'NT6' correspond to in user terms > -- Vista, Win 7, Win 8, and Win 10? Don't worry about NT 5 if Python's no longer supporting Windows XP in any fashion. Vista, Windows 7, Windows 8, Windows 8.1, and Windows 10 are respectively NT

[issue23633] Improve py launcher help, index, and doc

2015-03-11 Thread Steve Dower
Steve Dower added the comment: NT 5 would be Vista and earlier in this case, I believe. Specifying %LOCALAPPDATA% should be sufficient, though %USERPROFILE% (e.g. C:\Users\Steve) would also be okay. %ProgramData% is not writable by limited users, but we don't want the global .ini to be editab

[issue23633] Improve py launcher help, index, and doc

2015-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Good idea, but what do 'NT5' and 'NT6' correspond to in user terms -- Vista, Win 7, Win 8, and Win 10? -- ___ Python tracker ___ __

[issue23633] Improve py launcher help, index, and doc

2015-03-11 Thread eryksun
eryksun added the comment: > To me, the reference to the windows internal function is > worse than useless and should perhaps be removed. The docs could add an example commandline to edit the per-user .ini: NT 6: notepad "%LOCALAPPDATA%\py.ini" NT 5: notepad "%USERPROFILE%\Local Settings\Appl

[issue23633] Improve py launcher help, index, and doc

2015-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Whoops, unlinked misplaced message.) I will add py.ini *again* and watch more carefully before and after further installs. The problem with the doc is that it does not say where the py.ini file should go, and it inherently cannot because the locations are no

[issue23633] Improve py launcher help, index, and doc

2015-03-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg237839 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue23633] Improve py launcher help, index, and doc

2015-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: The faulty patch for #17911 is a possible, perhaps probably cause (Guido, email). -- ___ Python tracker ___ ___

[issue23633] Improve py launcher help, index, and doc

2015-03-10 Thread Steve Dower
Steve Dower added the comment: For point 4, there's no code in either the 3.5 or the 3.4 (AFAIK) installer that would remove a py.ini file. From 3.5 onwards the py(w).exe files will be properly refcounted so the latest version is always installed regardless of order (i.e. 3.6 will update 3.5's

[issue23633] Improve py launcher help, index, and doc

2015-03-10 Thread Terry J. Reedy
New submission from Terry J. Reedy: This issue is about making coordinated changes to the py launcher doc and binary. 1. The py launcher doc is https://docs.python.org/3/using/windows.html#python-launcher-for-windows. If one does not know where to look, it is hard to find. Add an index entr