Re: Change os.makedirs to handle existing directory

2012-02-13 Thread Andrew Berg
On 2/13/2012 4:59 PM, Wanderer wrote: > I think wanting to create a directory if one doesn't exist or do > nothing if it does exist and just use the existing directory is a > fairly normal programming need. Apparently this is somewhat > complicated in Python. There are new exceptions in 3.3, one o

Re: Change os.makedirs to handle existing directory

2012-02-13 Thread Tim Delaney
On 14 February 2012 09:59, Wanderer wrote: > I think wanting to create a directory if one doesn't exist or do > nothing if it does exist and just use the existing directory is a > fairly normal programming need. Apparently this is somewhat > complicated in Python. > ... > IMHO, os.makedirs should