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.

classification
Title: Document how to get Python's bin / Scripts directory
Type: Stage: needs patch
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, thautwarm
Priority: normal Keywords:

Created on 2020-04-15 02:40 by thautwarm, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg366480 - (view) Author: thautwarm (thautwarm) * Date: 2020-04-15 02:40
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
2022-04-11 14:59:29adminsetgithub: 84469
2020-10-22 21:09:34eric.araujosettitle: "highlighting" how to get Python's Scripts directory in the documentation -> Document how to get Python's bin / Scripts directory
stage: needs patch
versions: + Python 3.10, - Python 3.5, Python 3.6, Python 3.7
2020-04-15 02:40:51thautwarmsetassignee: docs@python

nosy: + docs@python
components: + Documentation
versions: + Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
2020-04-15 02:40:38thautwarmcreate