right_only Files and subdirectories only in b.
Path.rglob(pattern) This is like calling
linecache.lazycache(filename, module_globals) Capture enough detail about a non-file-based module to permit getting its lines
Path.expanduser() Return a new path with expanded ~ and ~user constructs, as returned by
shutil.unpack_archive(filename[, extract_dir[, format]]) Unpack an archive. filename is the full path of the archive
os.path.isdir(path) Return True if path is an existing directory. This follows symbolic links, so both
Path.write_text(data, encoding=None, errors=None) Open the file pointed to in text mode, write data to it, and close
os.path.islink(path) Return True if path refers to a directory entry that is a symbolic link. Always False
fileinput.fileno() Return the integer “file descriptor” for the current file. When no file is opened (before the first line
fileinput.nextfile() Close the current file so that the next iteration will read the first line from the next file (if any);
Page 14 of 19