[Tutor] Is there a way I can print the output of help(module)?

2012-04-27 Thread Joel Goldstick
Its really nice how python displays help from the docstrings of modules. I'd like to save this info to a file, and I realize I've never come across how to do that. -- Joel Goldstick ___ Tutor maillist - Tutor@python.org To unsubscribe or change

Re: [Tutor] Is there a way I can print the output of help(module)?

2012-04-27 Thread Steven D'Aprano
Joel Goldstick wrote: Its really nice how python displays help from the docstrings of modules. I'd like to save this info to a file, and I realize I've never come across how to do that. At the command prompt (not the Python interactive interpreter!), run the pydoc command: pydoc math will

Re: [Tutor] Is there a way I can print the output of help(module)?

2012-04-27 Thread Joel Goldstick
On Fri, Apr 27, 2012 at 3:03 PM, Steven D'Aprano st...@pearwood.info wrote: Joel Goldstick wrote: Its really nice how python displays help from the docstrings of modules.  I'd like to save this info to a file, and I realize I've never come across how to do that. At the command prompt (not

Re: [Tutor] Is there a way I can print the output of help(module)?

2012-04-27 Thread Leam Hall
On 04/27/2012 03:11 PM, Joel Goldstick wrote: Hey Steven, thanks. I guess I was a little lazy in my research. I just discovered pydocs before I read your response. Its great! This is great motivation to write concise and complete docstrings. Joel, I am constantly amazed by all the things