class viewer ?

Ben Finney ben+python at benfinney.id.au
Mon Jan 11 02:48:03 EST 2010


Stef Mientki <stef.mientki at gmail.com> writes:

> from the given class, it's ancestors and it's derived classes,
> I'ld like to get the following information in a tree like structure:
>
> - the file were the class is definied
> - the attributes, split in inherited / created / overriden
> - the methodes, split in inherited / created / overriden
> - the files were instances of the class are created
> - and probably I forget a few
>
> any suggestions ?

The “Emacs Code Browser” <URL:http://ecb.sourceforge.net/> was seemingly
designed for languages like C++ and Java, but it serves well enough for
Python also.

I find it annoying to use, since it seems to assume mouse navigation and
has rather impenetrable (for me) documentation. But it does seem to do
much of what you're asking for, and a big plus is that it's not specific
to Python.

-- 
 \      “The most common way people give up their power is by thinking |
  `\                               they don't have any.” —Alice Walker |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list