pathlib.Path.rglob()
  • References/Python/Python/File & Directory Access

Path.rglob(pattern) This is like calling

2025-01-10 15:47:30
filecmp.dircmp.right_only
  • References/Python/Python/File & Directory Access

right_only Files and subdirectories only in b.

2025-01-10 15:47:30
shutil.register_unpack_format()
  • References/Python/Python/File & Directory Access

shutil.register_unpack_format(name, extensions, function[, extra_args[, description]]) Registers an unpack format. name

2025-01-10 15:47:30
filecmp.dircmp.left
  • References/Python/Python/File & Directory Access

left The directory a.

2025-01-10 15:47:30
linecache.lazycache()
  • References/Python/Python/File & Directory Access

linecache.lazycache(filename, module_globals) Capture enough detail about a non-file-based module to permit getting its lines

2025-01-10 15:47:30
pathlib.PurePosixPath
  • References/Python/Python/File & Directory Access

class pathlib.PurePosixPath(*pathsegments) A subclass of PurePath, this path flavour represents non-Windows filesystem

2025-01-10 15:47:30
os.path.supports_unicode_filenames
  • References/Python/Python/File & Directory Access

os.path.supports_unicode_filenames True if arbitrary Unicode strings can be used as file names (within limitations

2025-01-10 15:47:30
linecache.clearcache()
  • References/Python/Python/File & Directory Access

linecache.clearcache() Clear the cache. Use this function if you no longer need lines from files previously read using getline()

2025-01-10 15:47:30
stat.filemode()
  • References/Python/Python/File & Directory Access

stat.filemode(mode) Convert a file’s mode to a string of the form ‘-rwxrwxrwx’.

2025-01-10 15:47:30
pathlib.Path.expanduser()
  • References/Python/Python/File & Directory Access

Path.expanduser() Return a new path with expanded ~ and ~user constructs, as returned by

2025-01-10 15:47:30