A. Joseph wrote:

I want to read from text file, 25 lines each time i press enter key,
just like the python documentation.

you can use pydoc's pager from your program:

    import pydoc

    text = open(filename).read()
    pydoc.pager(text)

</F>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to