MCPcopy Index your code
hub / github.com/geekcomputers/Python / create_folder

Function create_folder

smart_file_organizer.py:37–45  ·  view source on GitHub ↗

Create a folder if it does not already exist. Args: folder_path: Path of the folder to create.

(folder_path: str)

Source from the content-addressed store, hash-verified

35
36
37def create_folder(folder_path: str) -> None:
38 """
39 Create a folder if it does not already exist.
40
41 Args:
42 folder_path: Path of the folder to create.
43 """
44 if not os.path.exists(folder_path):
45 os.makedirs(folder_path)
46
47
48def get_category(file_ext: str) -> str:

Callers 1

organize_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected