how to find out the OO hierachy via the documentation?

Discussion in 'Python' started by Leo, Aug 29, 2003.

  1. Leo

    Leo Guest

    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
     
    Leo, Aug 29, 2003
    #1
    1. Advertising

  2. 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/public/SimpleHTTPServer.SimpleHTTPRequestHandler-class.html

    -Andrew.
     
    Andrew Bennetts, Aug 29, 2003
    #2
    1. Advertising

  3. Leo

    Peter Otten Guest

    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
     
    Peter Otten, Aug 29, 2003
    #3
  4. "Leo" <> wrote in message news:<bimpeg$ior$>...
    > 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.phyast.pitt.edu/~micheles
    --- Currently looking for a job ---
     
    Michele Simionato, Aug 29, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Ng
    Replies:
    1
    Views:
    369
    Gerbrand van Dieijen
    Oct 12, 2003
  2. VisionSet

    Contanier hierachy & good style

    VisionSet, Dec 4, 2003, in forum: Java
    Replies:
    4
    Views:
    424
    VisionSet
    Dec 4, 2003
  3. -
    Replies:
    2
    Views:
    411
    Harald
    Jul 24, 2005
  4. Nafai
    Replies:
    6
    Views:
    324
    Nafai
    Oct 26, 2004
  5. One Cent
    Replies:
    7
    Views:
    5,425
    ravik
    Sep 10, 2012
Loading...

Share This Page