Assume I only have the folder /root, with no subdirectories. Is there an easy method in python to create all directories for the following (in one line) /root/a/b/c/d/e/f/g/foo.exe?
Assume I only have the folder /root , with no subdirectories. Is there an
Share
os.makedirs()
http://docs.python.org/library/os.html#os.makedirs