Answers for "python code to create folder in the given path"

2

creating a new folder in python

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

Code answers related to "python code to create folder in the given path"

Python Answers by Framework

Browse Popular Code Answers by Language