7 Common File System Operations You Can Do With Python

Use the OS and Pathlib modules to automate tasks with Python.

The PyCoach
Towards Data Science
5 min readJun 17, 2021

--

Image by author (made on Canva)

One of the coolest things that you can do in Python without installing any third-party library is to perform file system operations such as creating a folder, renaming a file, and working with directories. Although these tasks can be easily done manually, you can…

--

--