(directory_path : str)
| 173 | |
| 174 | |
| 175 | def create_directory(directory_path : str) -> bool: |
| 176 | if directory_path and not is_file(directory_path): |
| 177 | os.makedirs(directory_path, exist_ok = True) |
| 178 | return is_directory(directory_path) |
| 179 | return False |
| 180 | |
| 181 | |
| 182 | def remove_directory(directory_path : str) -> bool: |