How to get terminal width?

Martin P Holland newsbunny at
Wed May 3 21:05:11 CEST 2000

On 3 May 2000 16:46:56 GMT,
Donn Cave <donn at> wrote:

>think of on UNIX is to read the output of "stty -a", where the first line
>usually reports these values.  Empirically, I find that it always uses the

stty size

just gives the rows and columns here (linux) but may be this is not




More information about the Python-list mailing list