HOME
ABOUT
DOCUMENTATION
GET HELP
It examines the directory path in file_path and creates directories that do not exist. There must be no ‘/’ after file_path.
file_path
file_path (str) – Directory path.
str
bool – True/False (Success/Fail)
bool
Examples
>>> check_directory_by_file_path("./dir1/dir2/filename.txt")