Hi,

I'm working on an interactive script. With raw_input user input is
read and the script produces some output and offers the prompt again.
I would like to add a clear screen feature, which would be activated
with CTRL+L. How to do that?
Another thing: raw_input waits until <Enter> but I'd like to clear the
screen at the moment when CTRL+L is pressed.

The script should be self-contained, thus I'd like to solve it by
using the standard library only.

Thanks,

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

Reply via email to