diff --git a/src/tutorial/files_and_path/pathlib_exercise/pathlib_exercise.py b/src/tutorial/files_and_path/pathlib_exercise/pathlib_exercise.py new file mode 100644 index 0000000..a848e49 --- /dev/null +++ b/src/tutorial/files_and_path/pathlib_exercise/pathlib_exercise.py @@ -0,0 +1,6 @@ +from pathlib import Path + +base_dir = Path("data") +file_path = base_dir / "raw" / "processed.json" + +file_path.mkdir(parents=True, exist_ok=True)