[Tutor] command for clearing user screen input

Kent Johnson kent37 at tds.net
Mon Mar 14 05:52:29 CET 2005


Gopinath V, ASDC Chennai wrote:
> HI all,
>    I'm trying a series of inputs ...i need to get the screen cleared 
> after every 5 inputs...can any 1 tell me how do I do it

Presuming you are using some kind of console window, you can do something like
print '\n' * 50

Anything fancier is platform dependent so you will have to tell us what platform you are on and if 
it is a console window or something else.

Kent



More information about the Tutor mailing list