fileinput.input(files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None) Create an instance of the FileInput
PurePath.parent The logical parent of the path: >>>
PurePath.root A string representing the (local or global) root, if any:
filecmp.clear_cache() Clear the filecmp cache. This may be useful if a file is compared so quickly after it is modified that
tempfile.NamedTemporaryFile(mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None, delete=True) This
os.path.expandvars(path) Return the argument with environment variables expanded. Substrings of the form $name
Path.owner() Return the name of the user owning the file.
Path.replace(target) Rename this file or directory to the given target. If target points to an existing file
PurePath.anchor The concatenation of the drive and root:
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