Paging output
by jenny on 10 July 2008 - 05:19pm in
Let Python determine the best pager available:
import pydoc
pydoc.pager(text)This may pipe the text into an external program like less or more.
...or explicitly use the built-in pager:
import pydoc
pydoc.ttypager(text)Source: http://www.velocityreviews.com/forums/t584112-paging-in-python-shell.html
