I sti-ll... haven't found,.... what I'm looking for.

Derrick 'dman' Hudson dman at dman13.dyndns.org
Thu Nov 6 19:44:25 CET 2003


ruari mactaggart <ruari at charliefortune.com> wrote:
> I think I explained badly what I need - I want the long string to pause for
> each full screen, so I can read it. It shoots off the top, so I can only
> read the end...

This is an environment issue, not a python issue.  Send the output to
a file or pager so that the output will be broken into "pages".  For
example, running the program as :
    myprogram.py | less
instead of
    myprogram.py
will send the output to the program 'less' (a pager) which provides
for scrolling and searching in the text.

If your system doesn't have 'less' on it, or your environment doesn't
support pipes like this then you'll need to provide more details as to
your environment (OS, etc.) so someone familiar with it can direct
you to suitable tools.

-D

-- 
Commit to the Lord whatever you do,
and your plans will succeed.
        Proverbs 16:3
 
www: http://dman13.dyndns.org/~dman/            jabber: dman at dman13.dyndns.org




More information about the Python-list mailing list