On Fri, Nov 20, 2009 at 3:05 PM, Dave Angel <da...@ieee.org> wrote: > Eric Pavey wrote:
>> lol, in usual fashion, after I hack through it, while in the docs, I find >> the 'fancy' solution: >> >> import pkgutil >> import myPackage >> modules = pkgutil.iter_modules(myPackage.__path__) >> for p in modules: >> print p[1] >> >> moduleA >> moduleB > Thanks much for that. It's apparently in the code, but it's not in the > (Windows) help doc. Is that a doc bug? Seems to be. The pkgutil docs are quite sparse: http://docs.python.org/library/pkgutil.html Kent _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor