18 Mar
2022
18 Mar
'22
1:37 p.m.
to get screen size, use curses: import curses curses.setupterm() lines = curses.tigetnum('lines') cols = curses.tigetnum('cols') curses also has functions for other graphical operations