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
Undiscussed Horrific Abuse, One Victim of Many Fri, 18 Mar 2022 06:37:50 -0700
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