[issue43586] sys.path is weird in Windows 10.

2021-03-22 Thread Shin Ryu
Shin Ryu added the comment: Thank you. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue43586] sys.path is weird in Windows 10.

2021-03-22 Thread Eryk Sun
Eryk Sun added the comment: > on windows, they print sys.path[0] is python38.zip not "". Isolated mode is probably enabled, i.e. `sys.flags.isolated == 1`. It's enabled by default for the embedded distribution [1], or if a "._pth" file exists beside and with the same base name as the

[issue43586] sys.path is weird in Windows 10.

2021-03-21 Thread Shin Ryu
New submission from Shin Ryu : import sys print(sys.path) only on windows, they print sys.path[0] is python38.zip not "". (docs.python.org says "As initialized upon program startup, the first item of this list, path[0], is the directory containing the script that was used to invoke the