[Python-Dev] mkdir -p in python (original) (raw)

Stephen J. Turnbull stephen at xemacs.org
Wed Jul 28 12:19:35 CEST 2010


Hrvoje Niksic writes:

single "branch", not an entire tree. I'd imagine a mktree function to accept a data structure describing the tree to be created.

-1 on mktree for that reason.

If you're going for a short name distinctive from mkdir, I propose mksubdirs.

A little more accurate might be mkpath, but I'd be happy with either. And of course in Unix jargon "path" is ambiguous.



More information about the Python-Dev mailing list