'Similar to L{iterModules}, this yields every module on the path, then every
submodule in each package or entry.'

def walkModules(self, importPackages=False):

    for package in self.iterModules():
        for module in package.walkModules(importPackages=False):
            (yield module)
