import os file_path=os.path.abspath(__file__) # print(file_path) current_Folder_Path = os.path.dirname(file_path) # print(current_Folder_Path) # print(os.path.join(current_Folder_Path,"my_money_pointer")) # print(current_Folder_Path) yt_links_for_facebook = "../json_files/yt_links_for_facebook.json" cookies_file=current_Folder_Path +'/cookies.json' save_cookies_json=current_Folder_Path +'/save_cookies.json' screenshot_path =current_Folder_Path +'/reports/screenshot' reports_path=current_Folder_Path +'/reports/' os.makedirs(os.path.dirname(reports_path), exist_ok=True) downloaded_videos_folder = current_Folder_Path + "/downloaded_videos" os.makedirs(downloaded_videos_folder, exist_ok=True) new_user_data_directory = current_Folder_Path +'/Chrome/new_user_data_directory' print("new_user_data_directory : \t",new_user_data_directory) if not os.path.exists(new_user_data_directory): os.makedirs(new_user_data_directory)