A. Joseph wrote:
you can use pydoc's pager from your program:
import pydoc
text = open(filename). read()
pydoc.pager(tex t)
</F>
I want to read from text file, 25 lines each time i press enter key,
just like the python documentation.
just like the python documentation.
import pydoc
text = open(filename). read()
pydoc.pager(tex t)
</F>