PurePath.name A string representing the final path component, excluding the drive and root, if any:
stat.S_ISDOOR(mode) Return non-zero if the mode is from a door.
Path.is_file() Return True if the path points to a regular file (or a symbolic link pointing to a regular file)
fnmatch.fnmatch(filename, pattern) Test whether the filename string matches the pattern string, returning
rmtree.avoids_symlink_attacks Indicates whether the current platform and implementation provides a symlink attack resistant
funny_files Files which are in both a and b, but could not be compared.
class pathlib.PurePath(*pathsegments) A generic class that represents the system’s path flavour (instantiating it creates either
The modules described in this chapter deal with disk files and directories. For example, there are modules for reading the properties of files, manipulating paths in a portable
os.path.getctime(path) Return the system’s ctime which, on some systems (like Unix) is the time of the last metadata change
os.path.expanduser(path) On Unix and Windows, return the argument with an initial component of ~ or ~user
Page 8 of 19