Lesson 32 of 62 · about 15 minutes
Paths with pathlib 🗂️
Paths with pathlib 🗂️ Programs that read and write files soon need to handle folders too: make a folder for exports, find every .csv file, rename a report. The pathlib module treats paths as objects with useful methods, instead of strings you have to glue…
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.