Skip to content

Instantly share code, notes, and snippets.

View create unlimited folders
import os
def makefolder():
a=0
for i in range(0,500000):
b=str(a)
os.mkdir(b)
a=a+1
print(a)
makefolder()
View folder inside inside
import os
a=1
for i in range(0,5):
b=str(a)
os.mkdir(b)
os.chdir(b)
a=a+1
You can’t perform that action at this time.