class viewer ?

2010-01-10 Thread Stef Mientki

hello,

I'd like to have a class viewer, something different from pydoc,
and I wonder if someone has made something similar.

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 ?

thanks,
Stef Mientki

--
http://mail.python.org/mailman/listinfo/python-list


Re: class viewer ?

2010-01-10 Thread Ben Finney
Stef Mientki stef.mien...@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
-- 
http://mail.python.org/mailman/listinfo/python-list