File size: 904 Bytes
630f507 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
import os
# Define the base directory where you want to create the project structure
base_dir = r"C:\Users\agshi\Desktop\Omdena\Canada Policy\TorontoCanadaChapter_CanPolicyInsight"
# List of folders to be created
folders = [
"task0_learning_and_research",
"task1_data_collection",
"task2_eda_preprocessing",
"task3_model_building",
"task4_prompt_engg",
"task5_model_evaluation",
"task6_model_deployment",
"task7_final_presentation"
]
# Function to create the directory structure
def create_folder_structure(base_dir, folders):
if not os.path.exists(base_dir):
os.makedirs(base_dir)
for folder in folders:
path = os.path.join(base_dir, folder)
os.makedirs(path, exist_ok=True)
print(f"Created: {path}")
# Create the folder structure
create_folder_structure(base_dir, folders)
print("Folder structure created successfully!") |