get_terminal_sizee Python

from os import get_terminal_size

size = get_terminal_size() # Columns, Lines
Enchanting Echidna