introspection question

Peter Otten __peter__ at web.de
Mon Jan 7 10:15:06 EST 2008


Alex K wrote:

Please don't top-post.

> On 07/01/2008, Peter Otten <__peter__ at web.de> wrote:
>> Alex K wrote:
>>
>> > What would be the simplest way of enumerating all methods and members
>> > (including inherited) of a given object? Thank you.
>>
>> inspect.getmembers()

> Nice thank you. But anyway to make it look pretty?

Maybe

$ /usr/bin/pydoc -p8080

Otherwise you'd have to explain what you are trying to do.

Peter



More information about the Python-list mailing list