Clearing a DOS terminal in a script
Stephen_B
stephen at theboulets.net
Thu Dec 13 12:38:26 EST 2007
More information about the Python-list mailing list
Thu Dec 13 12:38:26 EST 2007
- Previous message (by thread): Clearing a DOS terminal in a script
- Next message (by thread): Clearing a DOS terminal in a script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Dec 13, 11:21 am, "Chris Mellon" <arka... at gmail.com> wrote: > It opens "clear" with it's own virtual terminal and clears that > instead. Even when I launch the script from a cmd shell with "python myscript.py"? > There's an ANSI control code you can use to reset the screen, try printing that. I googled "<Esc>[2J" as an ascii sequence that it is supposed to clear the screen. How do I send that? Stephen
- Previous message (by thread): Clearing a DOS terminal in a script
- Next message (by thread): Clearing a DOS terminal in a script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list