18 lines
364 B
Python
18 lines
364 B
Python
# Bryan Schumaker (11/06/2010)
|
|
|
|
from libsaria import trees
|
|
|
|
#tree = trees.Tree()
|
|
#tree.insert(["home", "bjschuma", "Music"])
|
|
#tree.insert(["home", "bjschuma", "Videos"])
|
|
#tree.insert(["home", "other", "Music"])
|
|
|
|
from libsaria import path
|
|
tree = path.make_tree("/home/bjschuma/Music")
|
|
#print tree
|
|
|
|
print tree.value
|
|
#tree.disp()
|
|
for path in tree.walk():
|
|
print path
|