Python Os Path


Usage

AbsPath

See Path.absolute.


BaseName

See Path.name.


CommonPath


CommonPrefix


DirName

See Path.parent.


Exists

See Path.exists.


ExpandUser

See Path.expanduser and Path.home.


ExpandVars


GetATime


GetCTime


GetMTime


GetSize


IsAbs

See Path.is_absolute.


IsDir

See Path.is_dir.


IsFile

See Path.is_file.


See Path.is_symlink.


Join

See Path.joinpath.


NormCase


NormPath


RealPath

See Path.resolve.


RelPath

See Path.relative_to.


SameFile

See Path.samefile.


SameOpenFile


SameStat


Split


SplitDrive


SplitExt

See Path.stem and Path.suffix.


See also

Python os.path module documentation


CategoryRicottone