March 2003
Intermediate to advanced
656 pages
39h 30m
English
makedirs, mkdir
makedirs(path,mode=0777) mkdir(path,mode=0777)
makedirs creates all directories that are part of
path and do not yet exist.
mkdir creates only the rightmost directory of
path. Both functions use
mode as permission bits of directories
they create. Both functions raise OSError if
creation fails or if a file or directory named
path already exists.
Read now
Unlock full access