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?
Asked
Active
Viewed 1,734 times
1
coffee
- 329
- 1
- 5
- 8
-
Seems identical to: http://stackoverflow.com/questions/600268/mkdir-p-functionality-in-python – nimrodm Jul 12 '11 at 12:59