Making dir's

Klaus Alexander Seistrup klaus at seistrup.dk
Sun Jan 22 18:44:45 EST 2006


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/



More information about the Python-list mailing list