I used several of the pydoc functions but did not get what I was looking for.
import pydoc import math helpTxt = pydoc.getdoc(math) # only returns the following: This module is always available. It provides access to the mathematical functions defined by the C standard. helpTxt = pydoc.doc(math) # prints the documents that help does but helpTxt prints None print helpTxt None Just as I was about to ask for more help I figured out what I wanted: import pydoc import math helpTxt = pydoc.render_doc(math) helpTxt = pydoc.plain(helpTxt) print helpTxt Ryan On Feb 1, 8:46 pm, Chad Dombrova <[email protected]> wrote: > hi ryan, > the help command uses the pydoc module: > http://docs.python.org/library/pydoc.html > > -chad -- http://groups.google.com/group/python_inside_maya
