Module path

Module path 

Source

Functionsยง

normalize
Normalize a path, removing things like . and ...
path_to_unix_string
Convert a path to a string using / as a separator independent of the platform, returning None if any of the components are not valid Unicode.
path_to_unix_string_lossy
Convert a path to a string using / as a separator independent of the platform, using lossy conversion if necessary.