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