os.path — Platform-independent Manipulation of Filenames — PyMOTW 3
Originally posted
· 1 min read
Writing code to work with files on multiple platforms is easy using the functions included in the os.path module. Even programs not intended to be ported between platforms should use os.path for reliable filename parsing.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.