Or os.makedirs(): #v+
>>> import os
>>> print os.makedirs.__doc__
makedirs(path [, mode=0777])
Super-mkdir; create a leaf directory and all intermediate ones.
Works like mkdir, except that any intermediate path segment (not
just the rightmost) will be created if it does not exist. This is
recursive.
#v-
Cheers,
--
Klaus Alexander Seistrup
Copenhagen, Denmark
http://seistrup.dk/
--
http://mail.python.org/mailman/listinfo/python-list
