[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 
<https://bugs.python.org/issue43586>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 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.")

--
components: Windows
messages: 389275
nosy: RyuSh1n, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: sys.path is weird in Windows 10.
type: behavior
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue43586>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com