โ† All lessons

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.

See the free lessons