[Python-Dev] mkdir -p in python
Terry Reedy
tjreedy at udel.edu
Wed Jul 28 22:47:42 CEST 2010
On 7/28/2010 4:42 AM, Ray Allen wrote:
> I believe, in design purpose, the os.mkdir() is to match the system call
> "mkdir()" exactly, the os.makedirs() is a "Super-mkdir", it provides
> extra convenience for using when we want to create directories. This is
> the case makedirs() should deal with.
After discussion with Guido, the patch on the tracker leaves makedir
alone and catches the exception, or not, in makedirs.
--
Terry Jan Reedy
More information about the Python-Dev
mailing list