Table of Contents
os.path
os.path.abspath()
os.path.basename()
os.path.commonprefix()
os.path.dirname()
os.path.exists()
os.path.expanduser()
os.path.expandvars()
os.path.getatime()
os.path.getctime()
os.path.getmtime()
os.path.getsize()
os.path.isabs()
os.path.isdir()
os.path.isfile()
os.path.islink()
os.path.ismount()
os.path.join()
os.path.lexists()
os.path.normcase()
os.path.normpath()
os.path.realpath()
os.path.relpath()
os.path.samefile()
os.path.sameopenfile()
os.path.samestat()
os.path.split()
os.path.splitdrive()
os.path.splitext()
os.path.walk()
fileinput
stat
statvfs
filecmp
tempfile
glob
fnmatch
linecache
shutil
dircache
macpath
os.path.
split
Split a pathname. Returns tuple “(head, tail)” where “tail” is everything after the final slash. Either part may be empty.