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 thautwarm
Recipients thautwarm
Date 2020-04-15.02:40:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586918438.96.0.496326994048.issue40289@roundup.psfhosted.org>
In-reply-to
Content
Currently it's barely impossible for us to search about "How to get where Scripts directory/folder is".

If we google this, we can only get answers about '__file__', which is far from the expectation.

The correct information lies on
- https://github.com/python/cpython/blob/master/Doc/install/index.rst
- https://github.com/python/cpython/blob/master/Lib/sysconfig.py

It's also not the first time I want to google this but this is the first time I got the answer, by dipping into the source code and searching in the codebase.

I'd hope we can directly mention the phrase "Python Scripts directory" in the documentation of 'sysconfig' module.
History
Date User Action Args
2020-04-15 02:40:38thautwarmsetrecipients: + thautwarm
2020-04-15 02:40:38thautwarmsetmessageid: <1586918438.96.0.496326994048.issue40289@roundup.psfhosted.org>
2020-04-15 02:40:38thautwarmlinkissue40289 messages
2020-04-15 02:40:38thautwarmcreate