Roger Serwy <[email protected]> added the comment:
If you're on Linux, run this as your first command in IDLE:
import pydoc; pydoc.pager = lambda text:
pydoc.tempfilepager(pydoc.plain(text), 'xterm -e less')
If Windows:
import pydoc; pydoc.pager = lambda text:
pydoc.tempfilepager(pydoc.plain(text), 'notepad')
All help() output for objects will now display outside of IDLE.
The Squeezer extension does something similar for output that is longer than 30
lines.
It should be possible to create a custom pager for the subprocess which
communicates with IDLE to display this text. RPCProxy could be used to
accomplish this in conjunction with the textView module.
----------
nosy: +serwy
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13659>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com