So I have a little problem in Python that I've been breaking my head over for the past few days and I simply can not seem to figure it out. I'm working on an application that within its data structure mirrors windows explorer by iterating over a directory's contents, and storing every directory in it as a ProjectDir class…
im not really sure what youre trying to describe but.. have you looked at os.walk? https://docs.python.org/2/library/os.html#os.walk so you can grab the whole structure and setup the treeview while walking the directory?