fileinput.fileno() Return the integer “file descriptor” for the current file. When no file is opened (before the first line
stat.S_ISFIFO(mode) Return non-zero if the mode is from a FIFO (named pipe).
os.path.normcase(path) Normalize the case of a pathname. On Unix and Mac OS X, this returns the path unchanged; on case-insensitive
os.path.basename(path) Return the base name of pathname path. This is the second element of the pair returned by passing
Path.is_symlink() Return True if the path points to a symbolic link, False otherwise.
stat.S_ISWHT(mode) Return non-zero if the mode is from a whiteout.
classmethod Path.home() Return a new path object representing the user’s home directory (as returned by
left_only Files and subdirectories only in a.
os.path.dirname(path) Return the directory name of pathname path. This is the first element of the pair returned by
shutil.get_archive_formats() Return a list of supported formats for archiving. Each element of the returned sequence is a tuple
Page 15 of 19