os.path.splitext(path) Split the pathname path into a pair (root, ext) such that root + ext == path
os.path.realpath(path) Return the canonical path of the specified filename, eliminating any symbolic links encountered in the
tempfile.gettempprefixb() Same as gettempprefix() but the return value is in bytes.
os.path.expandvars(path) Return the argument with environment variables expanded. Substrings of the form $name
right_list Files and subdirectories in b, filtered by hide and ignore.
class pathlib.PureWindowsPath(*pathsegments) A subclass of PurePath, this path flavour represents Windows filesystem
diff_files Files which are in both a and b, whose contents differ according to the class’s file comparison
PurePath.root A string representing the (local or global) root, if any:
Path.is_file() Return True if the path points to a regular file (or a symbolic link pointing to a regular file)
Path.is_block_device() Return True if the path points to a block device (or a symbolic link pointing to a block
Page 7 of 19