SyntaxFix
Write A Post
Hire A Developer
Questions
import os os.mkdir('directory name') #### this command for creating directory os.mknod('file name') #### this for creating files os.system('touch filename') ###this is another method for creating file by using unix commands in os modules