Answers for "create a folder to a specific directory in 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 a folder to a specific directory in python"

Python Answers by Framework

Browse Popular Code Answers by Language