[IPython-user] easy way to display contents of a file with page pauses?
Robert Kern
robert.kern@gmail....
Thu Oct 8 12:01:05 CDT 2009
On 2009-10-08 11:12 AM, Dr. Phillip M. Feldman wrote:
>
> Is there a command that I can issue from within IPython to display the
> contents of a file, with a pause after each page? (I'm looking for
> something akin to the Unix 'more' command).
Use the ! prefix to run the program you normally would use in your regular
shell. E.g.
In [1]: !less a_really_big_file.txt
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the IPython-user
mailing list