Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

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



 
Reply With Quote
 
 
 
 
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.


 
Reply With Quote
 
 
 
 
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
your preferred browser:

http://localhost:9999/SimpleHTTPServer.html

Peter
 
Reply With Quote
 
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 ---
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Why didn't Sun put common methods found in DatagramChannel and SocketChannelhigher up the hierachy? - Java 2 07-24-2005 05:19 PM
Problem with hierachy and constructor Nafai C++ 6 10-26-2004 12:00 PM
Contanier hierachy & good style VisionSet Java 4 12-04-2003 10:50 PM
any framework for creating hierachy of object with expandable attributes and CRUD operation Andrew Ng Java 1 10-12-2003 08:50 AM



Advertisments