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
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: introspection question
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password