Print to end of line in a terminal

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Wed Feb 27 17:29:26 EST 2008


ndlarsen wrote:

> This might seem as a arbitrary question to some. Anyway, I'm
> wondering how I go about printing text to the end of a line in a
> terminal/console. I've been googling it for a few days without any
> success. Any suggestions will be greatly appreciated.

Well, just print ${COLUMNS} characters. If you rephrased your
problem with more detail one could give better suggestions.

Regards,


Björn

-- 
BOFH excuse #202:

kernel panic: write-only-memory (/dev/wom0) capacity exceeded.




More information about the Python-list mailing list