os.path.sameopenfile(fp1, fp2) Return True if the file descriptors fp1 and fp2 refer to the same
class pathlib.Path(*pathsegments) A subclass of PurePath, this class represents concrete paths of the system’s
shutil.copymode(src, dst, *, follow_symlinks=True) Copy the permission bits from src to dst. The file contents
Path.resolve() Make the path absolute, resolving any symlinks. A new path object is returned:
tempfile.TemporaryFile(mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None) Return a
fileinput.input(files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None) Create an instance of the FileInput
PurePath.is_reserved() With PureWindowsPath, return True if the path is considered reserved under
tempfile.mktemp(suffix='', prefix='tmp', dir=None) Deprecated since version
class fileinput.FileInput(files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None) Class FileInput
exception shutil.Error This exception collects exceptions that are raised during a multi-file operation. For copytree()
Page 5 of 19