Best Practices for Python Script Development?

skip at pobox.com skip at pobox.com
Fri Aug 25 10:37:45 EDT 2006


    >> `Pydoc <http://docs.python.org/lib/module-pydoc.html>`_ seems to be
    >> built around modules and I want to document scripts.

    Ant> Any python script *is* a python module. So pydoc is what you are
    Ant> after here.

Assuming you name your scripts so that they are importable (e.g. "foobar.py"
instead of "foo-bar.sh").

Skip



More information about the Python-list mailing list