If it's an existing directory structure, you could just use os.walk. On Tue, Jun 22, 2010 at 1:08 PM, shawnpatapoff <[email protected]> wrote: > Hey Everyone, > > I've been trying a decent solution for getting a dictionary filled > with a specific directory structure. > > base- > - child_1- > | -sub_1 > | > - child_2- > - sub_2 > > I would look like: > myDict{base:{child:{sub_1}},{child_2:{sub_2}}} > > Been messing with various methods, non which seem to be that > efficient. Anyone have any ideas that they would want to share? > > -s > > -- > http://groups.google.com/group/python_inside_maya
-- http://groups.google.com/group/python_inside_maya
