A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/011567.html below:

pydoc.py (show docs both inside and outside of Python)

[Python-Dev] Re: pydoc.py (show docs both inside and outside of Python) [Python-Dev] Re: pydoc.py (show docs both inside and outside of Python)Ka-Ping Yee ping@lfw.org
Thu, 11 Jan 2001 18:51:54 -0800 (PST)
On Fri, 12 Jan 2001, Martin v. Loewis wrote:
> > Did using pydoc like "man" work okay for you?
> 
> Yes, that is very impressive.

Good.  What platform did you try it on?

I have updated the scripts now to provide a very rudimentary HTTP server
feature:

    skuld[1316]% pydoc -p 8080
    starting server on port 8080

This starts a server on port 8080 that generates HTML documentation for
modules on the fly.  The root page (http://localhost:8080/) shows an
index of modules -- it badly needs some cleaning up, but at least it
provides access to all the documentation.

    http://www.lfw.org/python/pydoc.py
    http://www.lfw.org/python/htmldoc.py

Also, as you requested:

    skuld[1324]% pydoc -h
    /home/ping/bin/pydoc <name> ...
        Show documentation on something.
        <name> may be the name of a Python function, module,
        package, or a dotted reference to a class or function
        within a module or module in a package.

    /home/ping/bin/pydoc -k <keyword>
        Search for a keyword in the short descriptions of modules.

    /home/ping/bin/pydoc -p <port>
        Start an HTTP server on the given port on the local machine.


More to come.


-- ?!ng




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4