[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: introspection question

Guilherme Polo

1/7/2008 2:34:00 PM

2008/1/7, Alex K <spaceoutlet@gmail.com>:
> Hi Guys,
>
> What would be the simplest way of enumerating all methods and members
> (including inherited) of a given object? Thank you.
>
> Alex
> --
> http://mail.python.org/mailman/listinfo/p...
>

import inspect
inspect.getmembers(yourobject)

--
-- Guilherme H. Polo Goncalves