path
dir_exists(pathname)
Return True if the given pathname is valid for
the current OS and currently exists as a dir,
False otherwise.
Source code in chmpy/util/path.py
dir_exists_or_is_creatable(pathname)
Return True if the given pathname is valid for
the current OS and currently exists as a dir or is
createable by the current user, False otherwise.
Source code in chmpy/util/path.py
is_path_creatable(pathname)
Return True if we have permissions to create
the given pathname, False otherwise
is_valid_pathname(pathname)
Return True if the passed string is a valid
pathname for the current OS, False otherwise
Source code in chmpy/util/path.py
path_exists_or_is_creatable(pathname)
Return True if the given pathname is valid for
the current OS and currently exists or is createable
by the current user, False otherwise.