On Jul 4, 3:30 pm, Tim Johnson <t...@johnsons-web.com> wrote: > > Thanks for the reply: *but* > dir(<targetmodule>) will also show globals from other modules imported > by the target module. So I would need a way to distinguish between > those imported and those defined in <targetmodule>
Okay, then do some processing on the source. You can use regexps or the module mentioned earlier by Chris. -- http://mail.python.org/mailman/listinfo/python-list