New submission from Peter Bittner :
Currently, when you do a Web search (e.g. using Google, Bing, Yahoo!,
DuckDuckGo, et al.) for a Python module or function call you'll find a link to
the related Python 2 documentation first.
How to reproduce:
1. Search for simply "os.enviro
New submission from Peter Bittner :
The platform module's documentation mentions 'Linux', 'Windows' and 'Java'
explicitly as values for `platform.system()`.
https://docs.python.org/3/library/platform.html#platform.system
Given the popularity of mac
Peter Bittner added the comment:
Python learners deserve to know about "site-packages" and (optionally)
"dist-packages". This is a "random note", it's an explanation that is missing
in the tutorial.
- Site-packages "is the target directory of manual
Peter Bittner added the comment:
There is a specific question this change attempts to answer: "Where is the
module I imported located in the file system?"
I suspect this comes up a lot because developers want to inspect or mess with
installed modules, add debug output and th
Change by Peter Bittner :
--
keywords: +patch
pull_requests: +16500
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16974
___
Python tracker
<https://bugs.python.org/issu
New submission from Peter Bittner :
A popular question on StackOverflow is, "How do I find the location of my
Python site-packages directory?" [1]
While this may hint at a deeper problem that needs to be solved, a user
suggested [2] the accepted answer to be added to Python&