use CTRL+L for clearing the screen
Ben Finney
ben+python at benfinney.id.au
Wed Feb 29 06:39:22 EST 2012
More information about the Python-list mailing list
Wed Feb 29 06:39:22 EST 2012
- Previous message (by thread): use CTRL+L for clearing the screen
- Next message (by thread): Python-list Digest, Vol 101, Issue 164
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jabba Laci <jabba.laci at gmail.com> writes: > 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. That sounds like a job for the standard library ‘readline’ module <URL:http://docs.python.org/library/readline.html>, an interface to the widely-used C library of the same name on free operating systems. -- \ “We demand rigidly defined areas of doubt and uncertainty!” | `\ —Vroomfondel, _The Hitch-Hiker's Guide To The Galaxy_, Douglas | _o__) Adams | Ben Finney
- Previous message (by thread): use CTRL+L for clearing the screen
- Next message (by thread): Python-list Digest, Vol 101, Issue 164
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list