Given a Python package, how can I automatically find all its sub-packages?
I used to have a function that would just browse the file system, looking for folders that have an __init__.py* file in them, but now I need a method that would work even if the whole package is in an egg.
pkgutil could be helpfull.
Also see this SO question., this is a code example form that question.
kaizer.se
~unutbu