]>
git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/makedir.py
294502f3ada743a55fdd07de6a2a602e8c494460
3 # Like mkdir, but also make intermediate directories if necessary.
4 # It is not an error if the given directory already exists (as long
5 # as it is a directory).
6 # Errors are not treated specially -- you just get a Python exception.
11 for p
in sys
.argv
[1:]:
15 if p
and not os
.path
.isdir(p
):
16 head
, tail
= os
.path
.split(p
)
20 if __name__
== "__main__":