PyMOTW: os.path
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
to make parsing path names reliable.