Returns true if path is a block device, false otherwise.
Returns true if path is a character device, false otherwise.
Returns true if path is a directory, false otherwise.
Returns true if the current user has permission to execute path, false otherwise.
Returns true if path is a FIFO, false otherwise.
Returns true if path is a regular file, false otherwise.
Returns true if path is a symbolic link, false otherwise.
Returns true if path is a valid filesystem path, false otherwise.
Returns true if the current user has permission to read path, false otherwise.
Returns true if path has the setgid flag set, false otherwise.
Returns true if path has the setuid flag set, false otherwise.
Returns true if path is a socket, false otherwise.
Returns true if path has the sticky bit set, false otherwise.
Returns true if the current user has permission to write to path, false otherwise.
Return the current user’s home directory.
Get the directory part of a path.
Get the file name part of a path.
Determines whether a path is absolute (begins at the root directory).
Determines whether a path refers to a directory (for example, ends with a path separator).
Join path components into a full path. If some argument is an absolute path, then prior components are dropped.
Convert a path to an absolute path by adding the current directory if necessary.
Normalize a path, removing ”.” and ”..” entries.
Canonicalize a path by expanding symbolic links and removing ”.” and ”..” entries.
On Unix systems, replace a tilde character at the start of a path with the current user’s home directory.
Split a path into a tuple of the directory name and file name.
On Windows, split a path into the drive letter part and the path part. On Unix systems, the first component is always the empty string.
If the last component of a path contains a dot, split the path into everything before the dot and everything including and after the dot. Otherwise, return a tuple of the argument unmodified and the empty string.
Generate a unique temporary filename.
Obtain the path of a temporary directory.
Returns (path, io), where path is the path of a new temporary file and io is an open file object for this path.
Create a temporary directory and return its path.