This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author RyuSh1n
Recipients RyuSh1n, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-03-22.04:14:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616386482.98.0.154100807253.issue43586@roundup.psfhosted.org>
In-reply-to
Content
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 Python interpreter. If the script directory is not available (e.g. if the interpreter is invoked interactively or if the script is read from standard input), path[0] is the empty string, which directs Python to search modules in the current directory first. Notice that the script directory is inserted before the entries inserted as a result of PYTHONPATH.")
History
Date User Action Args
2021-03-22 04:14:43RyuSh1nsetrecipients: + RyuSh1n, paul.moore, tim.golden, zach.ware, steve.dower
2021-03-22 04:14:42RyuSh1nsetmessageid: <1616386482.98.0.154100807253.issue43586@roundup.psfhosted.org>
2021-03-22 04:14:42RyuSh1nlinkissue43586 messages
2021-03-22 04:14:42RyuSh1ncreate