Answers for "os.makedirs can't create a folder with extension"

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 "os.makedirs can't create a folder with extension"

Python Answers by Framework

Browse Popular Code Answers by Language