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.
splitext
Split the extension from a pathname.
Extension is everything from the last dot to the end, ignoring leading dots. Returns “(root, ext)”; ext may be empty.