How to write a python program to export the help document to a file?
Trent Mick
trentm at ActiveState.com
Mon Apr 10 20:40:07 EDT 2006
[boyeestudio wrote]
> How to write a python program to export the help document to a file?
> for example:
> I need the os document,I use:
> >>>import os
> >>>help(os)
> then it will show me all about os.But I need it redirect to a file.
> How to do that?
$ pydoc os > os.txt
Trent
--
Trent Mick
TrentM at ActiveState.com
More information about the Python-list
mailing list