help() function
Chris Spencer
clspence at one.net
Tue Nov 5 15:13:26 EST 2002
More information about the Python-list mailing list
Tue Nov 5 15:13:26 EST 2002
- Previous message (by thread): sre_constants.error: bogus escape
- Next message (by thread): help() function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Wow, thanks! This is perfect for my needs. :) Chris. On 5 Nov 2002 01:03:58 GMT, bokr at oz.net (Bengt Richter) wrote: >On 4 Nov 2002 18:05:19 -0600, Chris Spencer <clspence at one.net> wrote: > >> 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. <snip pydoc stuff> > python D:\Python22\Lib\pydoc.py > a_file.txt > >as extension-triggered program output is not always redirectable. > >Regards, >Bengt Richter
- Previous message (by thread): sre_constants.error: bogus escape
- Next message (by thread): help() function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list