I'm wondering if a class that acts as a interface to a tree data
structure stored in a dictionary could also be useful as a base class
for accessing filesystems, urls, and zip (or rar) files.
Then a path object could then be used as a dictionary_tree key.
This idea seems much more useful to
Ron Adam wrote:
This give a more general purpose for path objects. Working out ways to
retrieve path objects from a dictionary_tree also would be useful I
think. I think a Tree class would also be a useful addition as well.
Any thoughts on this?
I don't think this would be as useful as
Brian Beck wrote:
Ron Adam wrote:
This give a more general purpose for path objects. Working out ways
to retrieve path objects from a dictionary_tree also would be useful I
think. I think a Tree class would also be a useful addition as well.
Any thoughts on this?
I don't think
Here's an example of how path objects could possibly be used to store
and retrieve data from tree_dictionary class.
I used lists here in place of path objects, but I think path objects
would be better. I think paths used this way creates a consistant way
to access data stored in both