Closed cdusold closed 7 years ago
This is as simple as
try: os.makedirs(loc) except OSError as exception: if exception.errno != errno.EEXIST: raise
My bad. This already was happening (I thought it was). I just had a file named the same thing I wanted my folder to be. Perhaps a catch for that would be appropriate.
This is as simple as