Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyutils module
#16
(Oct-08-2016, 07:05 AM)Skaperen Wrote: is there an easy way (i know a couple hard ways) to redirect the output of help() to a file?   file= does not work.

Pydoc has an option to output the documentation as an html file.
$ python -m pydoc -w color_change
wrote color_change.html
Or just send it to a file as normal (maybe slightly different syntax on linux; I forget):
$ python -m pydoc color_change > "documentation.txt"


Messages In This Thread
pyutils module - by Skaperen - Oct-04-2016, 02:19 AM
RE: pyutils module - by Skaperen - Oct-04-2016, 04:48 AM
RE: pyutils module - by nilamo - Oct-04-2016, 07:39 PM
RE: pyutils module - by Skaperen - Oct-05-2016, 04:25 AM
RE: pyutils module - by nilamo - Oct-05-2016, 02:34 PM
RE: pyutils module - by Skaperen - Oct-06-2016, 12:33 AM
RE: pyutils module - by metulburr - Oct-04-2016, 07:49 PM
RE: pyutils module - by nilamo - Oct-04-2016, 07:53 PM
RE: pyutils module - by metulburr - Oct-04-2016, 07:58 PM
RE: pyutils module - by metulburr - Oct-05-2016, 11:43 AM
RE: pyutils module - by Mekire - Oct-08-2016, 02:24 AM
RE: pyutils module - by Skaperen - Oct-08-2016, 03:34 AM
RE: pyutils module - by Mekire - Oct-08-2016, 06:43 AM
RE: pyutils module - by Skaperen - Oct-08-2016, 07:05 AM
RE: pyutils module - by Mekire - Oct-08-2016, 04:48 PM
RE: pyutils module - by wavic - Oct-08-2016, 08:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pyutils.py Skaperen 8 6,187 May-09-2020, 01:22 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020