Exercise: recursive dependency tree


Give a bunch of files that has list of requirement in them. Process them recursively and print the resulting full list of requirements


examples/functions/dependencies/a.txt
b
c
d

examples/functions/dependencies/b.txt
e
d

examples/functions/dependencies/c.txt
f
g

$ python traversing_dependency_tree.py a

Processing a
Processing b
Processing e
Processing d
Processing c
Processing f
Processing g
Processing d