PyDocs

Nav

Generic Operating System Services

terminal_size

os

class
  • terminal_size(iterable=(), /)
A tuple of (columns, lines) for holding terminal window size
Members of terminal_size

c

columns
width of the terminal window in characters

l

lines
height of the terminal window in characters
0 Examples
No examples for os/terminal_size.
See Also
No see-alsos for os/terminal_size
0 Notes
No notes for terminal_size