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 theacodes
Recipients docs@python, theacodes
Date 2020-10-05.16:06:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601913967.48.0.506783023492.issue41946@roundup.psfhosted.org>
In-reply-to
Content
Presently the documentation for os.path (https://docs.python.org/3.8/library/os.path.html) doesn't contain any concrete examples of the input and outputs of the various path manipulation functions.

Contrast this to the Node.js documentation for similar functionality (https://nodejs.org/api/path.html)

We could add replesque examples such as:

>> os.path.abspath("example.py")
"/full/path/to/example.py"

...

>> os.path.basename("example.py")
"example"

& so on.

I believe it would be useful for us to have concrete examples here and I'm happy to contribute this. If anyone feels differently, let me know.
History
Date User Action Args
2020-10-05 16:06:07theacodessetrecipients: + theacodes, docs@python
2020-10-05 16:06:07theacodessetmessageid: <1601913967.48.0.506783023492.issue41946@roundup.psfhosted.org>
2020-10-05 16:06:07theacodeslinkissue41946 messages
2020-10-05 16:06:07theacodescreate