Answers for "create directory in main folder python"

2

creating a new folder in python

newpath = r'C:\Program Files\arbitrary' 
if not os.path.exists(newpath):
    os.makedirs(newpath)
Posted by: Guest on February-15-2020

Code answers related to "create directory in main folder python"

Python Answers by Framework

Browse Popular Code Answers by Language