Answers for "how to make new folder with import os 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 "how to make new folder with import os python"

Python Answers by Framework

Browse Popular Code Answers by Language