10/28/2018

python make folder (create directory)

import os

makeFolder = 'folderName'
if not os.path.exists(makeFolder): #if not exist
os.makedirs(makeFolder) #make folder

No comments:

Post a Comment