create a directory structure

Andrea Crotti andrea.crotti.0 at gmail.com
Fri Sep 16 13:13:15 CEST 2011


I would like to write a program which creates a directory structure and 
fills in a few templated fields some values passed in as arguments.

So for example
create_struct.py

might create
base_dir:
|_ sub_dir1:
    |_ sub_file1
...

It's quite simple in theory, but I would also like to make it very 
easily maintanable, for example with a nice representation of the 
structure (an INI file maybe).

Any ideas/advise on how to make it easy to write and to maintain?



More information about the Python-list mailing list