Make Multiple Directories using Python

Published: 27 June 2024
on channel: 2MinutesPy
2,946
205

Python's `os` module is used to interact with the Operating System(OS), hence, it can be used to automate the tasks that we do manually on the OS.

Here, we are automating the task of creating multiple directories on the specified path using the `os` module in just a few lines of code.