def create_path_if_not_exist(path, on_error=None):
"""
Attempts to create path if it does not exist. If on_error is
def create_path_if_not_exist(path, on_error=None):
"""
Attempts to create path if it does not exist. If on_error is
return os.path.exists(filename) and os.path.isfile(filename)
def does_directory_exist(dirname: str) -> bool:
return os.path.exists(filename) and os.path.isfile(filename)
def does_directory_exist(dirname: str) -> bool:
return os.path.exists(dirname) and os.path.isdir(dirname)
def does_path_exist(pathname: str) -> bool:
return os.path.exists(dirname) and os.path.isdir(dirname)
def does_path_exist(pathname: str) -> bool: