How to make multiples folder using python programming
Python is an interpreted, object-oriented programming language.From python programming language we can basically we can make websites, web apps, artificial intelligence etc. In this article, you will learn to create multiple folders using python programming language.
For making multiple folder : download ( thonny ) software from https://thonny.org/ from following website and open ( thonny ). If you got any problem then here is video.
To Create 1 Folder
import os
os.mkdir(“hello world”)
This program will create folder name hello world.
If you want to create multiple folder, the simple and easy way is to use loop.
import os
for i in range(40):
…. os.mkdir(str(i))
Run your python program. It will create 39 folders.