Source code: Lib/macpath.py
Path.is_block_device() Return True if the path points to a block device (or a symbolic link pointing to a block
PurePath.root A string representing the (local or global) root, if any:
PurePath.with_suffix(suffix) Return a new path with the suffix changed. If the original path doesn’t have a suffix
Path.owner() Return the name of the user owning the file.
PurePath.anchor The concatenation of the drive and root:
diff_files Files which are in both a and b, whose contents differ according to the class’s file comparison
shutil.unregister_archive_format(name) Remove the archive format name from the list of supported formats.
PurePath.name A string representing the final path component, excluding the drive and root, if any:
The modules described in this chapter deal with disk files and directories. For example, there are modules for reading the properties of files, manipulating paths in a portable
Page 8 of 19