os.path

os.path — Common pathname manipulations

This module implements some useful functions on pathnames. To read or write files see open(), and for accessing the filesystem see the os module.

Note

On Windows, many of these functions do not properly support UNC pathnames. splitunc() and ismount() do handle them correctly.

Unlike a unix shell, Python does not do any <