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