from pathlib import Path folders_and_files = [ "Research/experiments.ipynb", "Web/website_store.txt", "StreamlitApp.py", "requirements.txt", "README.md", "LICENSE", "vectore_store.py" ] base_dir = Path("RAG_APPLICATIONS_FROM_ANY_WEBSITE") for file_path_str in folders_and_files: file_path = base_dir / file_path_str file_path.parent.mkdir(parents=True, exist_ok=True) file_path.touch(exist_ok=True) print(f"Created file: {file_path}")