get_terminal_sizee python
from os import get_terminal_size
size = get_terminal_size() # Columns, Lines
Enchanting Echidna
from os import get_terminal_size
size = get_terminal_size() # Columns, Lines