get the terminal's size

Alex Ternaute alex at lussinan.invalid
Mon Jan 14 12:24:39 EST 2019


Hi,

Grant Edwards :

>>export COLUMNS LINES
> That will tell you the terminal size at the time Python was started.

Ok, I think tracking these changes in real time is not worth the work to 
be done using Python2.

I think at last I'll rewrite this (little) programe in Python3 in order to 
use get_terminal_size().

Bye
-- 
Alex
 




More information about the Python-list mailing list