os.path" />

PyMOTW: os.pathK

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.

Read more: os.path