paging in python shell
John Machin
sjmachin at lexicon.net
Mon Jan 14 15:49:02 EST 2008
On Jan 15, 7:35 am, "Alex K" <spaceout... at gmail.com> wrote:
> Hi Tim,
>
> Yes I mean piping the output into "more" for example.
>
Why don't you "suck it and see"???
E.g.
C:\junk>copy con demomore.py
for i in range(100):
print 'line', i
^Z
1 file(s) copied.
C:\junk>python demomore.py | more
line 0
line 1
line 2
line 3
line 4
[snip]
line 50
line 51
line 52
line 53
line 54
line 55
line 56
-- More --
More information about the Python-list
mailing list