shutil.which(cmd, mode=os.F_OK | os.X_OK, path=None) Return the path to an executable which would be run if the given cmd
Path.lstat() Like Path.stat() but, if the path points to a symbolic link, return the symbolic link’s information
Path.unlink() Remove this file or symbolic link. If the path points to a directory, use Path.rmdir() instead.
Path.open(mode='r', buffering=-1, encoding=None, errors=None, newline=None) Open the file pointed to by the path, like the built-in
shutil.unregister_unpack_format(name) Unregister an unpack format. name is the name of the format.
Path.group() Return the name of the group owning the file.
stat.S_ISBLK(mode) Return non-zero if the mode is from a block special device file.
os.path.abspath(path) Return a normalized absolutized version of the pathname path. On most platforms, this is equivalent
os.path.isdir(path) Return True if path is an existing directory. This follows symbolic links, so both
filecmp.cmpfiles(dir1, dir2, common, shallow=True) Compare the files in the two directories dir1 and dir2
Page 11 of 19