I want to make a folder like this:
import os
rootfolder = r'C:\Users\user\Desktop\mainf'
for path, subdirs, files in os.walk(rootfolder):
for i in subdirs:
os.mkdir('newfolder')
mainf has 100 subfolders that are empty. I want to make a folder called new folder in every one of them. The code above doesn't work.