How to page output in >>> ?
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Thu Aug 13 02:28:53 EDT 2009
En Wed, 12 Aug 2009 18:41:38 -0300, kj <no.email at please.post> escribió:
> How does one tell the python interactive interpreter to run the
> next output to stdout through the default pager? Basically, I'm
> looking for Python's equivalent of Perl's debugger's "|" prefix,
> as in
>
> DB<1> |print $long_output
Try using pydoc.pager - read the source
--
Gabriel Genellina
More information about the Python-list
mailing list