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

Path.rmdir() Remove this directory. The directory must be empty.

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
stat.S_ISBLK()
  • References/Python/Python/File & Directory Access

stat.S_ISBLK(mode) Return non-zero if the mode is from a block special device file.

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
os.path.getmtime()
  • References/Python/Python/File & Directory Access

os.path.getmtime(path) Return the time of last modification of path. The return value is a number giving the number

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

shutil.disk_usage(path) Return disk usage statistics about the given path as a named tuple

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