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 2,112 times
        
    3
            
            
         
    
    
        coffee
        
- 401
- 2
- 6
- 8
- 
                    Seems identical to: http://stackoverflow.com/questions/600268/mkdir-p-functionality-in-python – nimrodm Jul 12 '11 at 12:59
 
    