help() function

Chris Spencer clspence at one.net
Mon Nov 4 19:05:19 EST 2002


	The documentation makes it clear that the help() function is only used
in interactive mode.  However, I see it as a really neato-way of generating
standalone .txt files from docstrings in modules.  However, as it currently
stands, it looks like help() can ONLY be used in interactive mode, which means I
can't capture the output to a file.
	Is there any way to get the same docstring formatting that help() uses,
but be able to capture it to a variable or a file handle?
	Inquiring minds want to know.

Chris.




More information about the Python-list mailing list