introspection

rick ath-admin at vt.edu
Fri Sep 1 08:21:39 EDT 2006


Fredrik Lundh wrote:
> 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>
> 

Great info guys! Thanks.



More information about the Python-list mailing list