Newbie- how to basics

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Thu Nov 7 19:45:21 EST 2002


----- Original Message -----
From: "Gerhard Häring" <gerhard.haering at gmx.de>


> Tony C wrote in comp.lang.python:
> > I've gone through much of the documentation included with Python
> > 2.2.2, but can find any kind of reference on how to clear the screen
> > from a python script, or at the command line.
>
> You could just print the escape sequence for that, but I believe that
> there are utility modules for this.
>
> If you need more similar stuff, like posititioning the cursor,
> changing colors (or using bold/underline/...) you can use the curses
> module instead.
>
> I'm assuming a Unixish system here. On Windows, the console module
> from http://effbot.org/downloads/ might be it.

Or my WConio module... it's quite a bit more reliable on 9x
versions of Windows than the console module.  The effbot
didn't work around all the bugs in 9x console handling.

Or-you-could-avoid-duct-tape-and-baling-wire-os's-ly your's

Chris Gonnerman -- chris.gonnerman at newcenturycomputers.net
http://newcenturycomputers.net





More information about the Python-list mailing list