How to page output in >>> ?

kj at
Wed Aug 12 23:41:38 CEST 2009

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



More information about the Python-list mailing list