Posts by Antonio Peixoto • 1 point
1 post
-
-4
votes5
answers15940
viewsA: How to create a directory in Python?
Eventually you may be interested in creating from the './temp' folder even if it already exists in this case you can do so: import os dirTemp = './temp' try: os.mkdir(dirTemp) except OSError:…