Home
/
Python 3.11
/
Shutil
/
get_terminal_size
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Shutil
get_terminal_size
Python 3.11
Get the size of the terminal window.
Syntax
PYTHON
Copy
shutil.get_terminal_size(fallback=(columns, lines))
See Also
sys.__stdout__
os.get_terminal_size()
os.terminal_size
os.get_terminal_size()