shutil.copystat(src, dst, *, follow_symlinks=True) Copy the permission bits, last access time, last modification time, and flags
fileinput.filename() Return the name of the file currently being read. Before the first line has been read, returns None
stat.S_ISREG(mode) Return non-zero if the mode is from a regular file.
Path.is_dir() Return True if the path points to a directory (or a symbolic link pointing to a directory), False
shutil.copyfileobj(fsrc, fdst[, length]) Copy the contents of the file-like object fsrc to the file-like object fdst
Path.glob(pattern) Glob the given pattern in the directory represented by this path, yielding all matching files (of
os.path.lexists(path) Return True if path refers to an existing path. Returns True for broken
shutil.get_unpack_formats() Return a list of all registered formats for unpacking. Each element of the returned sequence is
fnmatch.translate(pattern) Return the shell-style pattern converted to a regular expression.
stat.S_ISPORT(mode) Return non-zero if the mode is from an event port.
Page 2 of 19