Message360239
In the "What’s New In Python 3.9" (Doc/whatsnew/3.9.rst), it says
> Python now gets the absolute path of the script filename specified on the command line (ex: python3 script.py): the __file__ attribute of the __main__ module and sys.path[0] become an absolute path, rather than a relative path.
However, I believe sys.path[0] is already absolute path since the previous versions. We can probably remove "and sys.path[0]" from the phrase to avoid possible confusions. |
|
Date |
User |
Action |
Args |
2020-01-18 07:46:57 | ksato9700 | set | recipients:
+ ksato9700, docs@python |
2020-01-18 07:46:57 | ksato9700 | set | messageid: <1579333617.11.0.372896670301.issue39379@roundup.psfhosted.org> |
2020-01-18 07:46:57 | ksato9700 | link | issue39379 messages |
2020-01-18 07:46:57 | ksato9700 | create | |
|