Hi,
I needed to get the modules dependecies showing all levels
I wrote the following code that shows only the first level, assuming that I have the list of modules in the list 'modules'
I tried to show all dependencies using a recursive function with no success, could anyone help me accomplishing this
Here is my code
def get_dep(m): |
The above code works fine it shows all the depends modules.
It gave me the result : account_budget account base purchase stock process procurement but the 'stock' module depends on 'product', I need a help in tweaking the code so it prints all levels