fileinput.isstdin() Returns true if the last line was read from sys.stdin, otherwise returns false.
subdirs A dictionary mapping names in common_dirs to dircmp objects.
Path.glob(pattern) Glob the given pattern in the directory represented by this path, yielding all matching files (of
tempfile.tempdir When set to a value other than None, this variable defines the default value for the dir
tempfile.SpooledTemporaryFile(max_size=0, mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None) This
shutil.register_archive_format(name, function[, extra_args[, description]]) Register an archiver for the format name
stat.S_ISSOCK(mode) Return non-zero if the mode is from a socket.
Path.mkdir(mode=0o777, parents=False, exist_ok=False) Create a new directory at this given path. If mode is given,
glob.glob(pathname, *, recursive=False) Return a possibly-empty list of path names that match pathname, which must
os.path.lexists(path) Return True if path refers to an existing path. Returns True for broken
Page 2 of 19