Velocity Reviews > how to find out the OO hierachy via the documentation?

# how to find out the OO hierachy via the documentation?

Leo
Guest
Posts: n/a

 08-29-2003
hi all

newbie question: how do i find out the OO hierarchy of a class in the python
docu?

the story: i want do play with the web server classes. so the first task
would be a basic server with SimpleHTTPServer. in the docu i've read about
the test() function but i couldn't find this function in the
SimpleHTTPServer class and even not in the BaseHTTPServer class which might
be the ancestor.

so now i'd like to walk through the OO hierarchy of SimpleHTTPServer...

any help is appreciated!

cheers, leo

Andrew Bennetts
Guest
Posts: n/a

 08-29-2003
On Fri, Aug 29, 2003 at 03:48:24PM +1000, Leo wrote:
> hi all
>
> newbie question: how do i find out the OO hierarchy of a class in the python
> docu?
>
> the story: i want do play with the web server classes. so the first task
> would be a basic server with SimpleHTTPServer. in the docu i've read about
> the test() function but i couldn't find this function in the
> SimpleHTTPServer class and even not in the BaseHTTPServer class which might
> be the ancestor.
>
> so now i'd like to walk through the OO hierarchy of SimpleHTTPServer...

The epydoc project (http://epydoc.sf.net/) has generated API docs for the
Python 2.2 standard library with this sort of info in it, e.g.:
http://epydoc.sourceforge.net/stdlib...ler-class.html

-Andrew.

Peter Otten
Guest
Posts: n/a

 08-29-2003
Leo wrote:

> newbie question: how do i find out the OO hierarchy of a class in the
> python docu?

You can use

pydoc -p 9999

or on Windows perhaps

python c:\path\to\python\pydoc.py -p 9999

on the command line and then access documentation generated on the fly with

http://localhost:9999/SimpleHTTPServer.html

Peter

Michele Simionato
Guest
Posts: n/a

 08-29-2003
"Leo" <(E-Mail Removed)> wrote in message news:<bimpeg$ior$(E-Mail Removed)>...
> hi all
>
> newbie question: how do i find out the OO hierarchy of a class in the python
> docu?
>
> the story: i want do play with the web server classes. so the first task
> would be a basic server with SimpleHTTPServer. in the docu i've read about
> the test() function but i couldn't find this function in the
> SimpleHTTPServer class and even not in the BaseHTTPServer class which might
> be the ancestor.
>
> so now i'd like to walk through the OO hierarchy of SimpleHTTPServer...
>
> any help is appreciated!
>
> cheers, leo

help(SimpleHTTPServer)

Michele Simionato, Ph. D.
http://www.velocityreviews.com/forums/(E-Mail Removed)
http://www.phyast.pitt.edu/~micheles
--- Currently looking for a job ---