create a subdirectory in our temporary directory : Directory : File PYTHON TUTORIALS


PYTHON TUTORIALS » File » Directory »

 

create a subdirectory in our temporary directory


import os


os.mkdir('example')
os.chdir('example')
cwd = os.getcwd()
print cwd

print os.listdir(cwd)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo File
» Directory