Redirecting input of IDLE window

Terry Reedy tjreedy at udel.edu
Mon Aug 14 11:46:59 EDT 2017


On 8/14/2017 6:19 AM, Joel Goldstick wrote:

> do you know about the utility called pydoc?  Type it at a command line to
> learn more.

This only works if a wrapper has been installed in a directory on the 
system path.  'python -m pydoc' should always work.

>  It displays information like help does in a python
> environment, but you can also redirect it to a file

The other way around: help uses pydoc, but help does not expose all of 
pydoc's options.


-- 
Terry Jan Reedy




More information about the Python-list mailing list