programa para generar directorios en windows
import os def mkdir(path): path = path.strip() path = path.rstrip() isExists = os.path.exists(path) if not isExists: os.makedirs(path) print(path + ' create successful!') return True else: print(path + ' exists!') return False mkdir('./asdf')