introspection

Fredrik Lundh fredrik at pythonware.com
Fri Sep 1 02:08:37 EDT 2006


brad tilley wrote:

> How do I import a module and then ask it to show me its methods or other 
> aspects about itself during execution? I'd like to do something such as 
> this:
> 
> import win32api

dir(win32api)
help(win32api)

and also

import inspect
help(inspect)

</F>




More information about the Python-list mailing list