Hotfix release available: 2025-05-14b "Librarian".
upgrade now! [56.2] (what's this?)
python_terminalsize
Terminalgröße bestimmen
import shutil breite, hoehe = shutil.get_terminal_size() print(breite) print(hoehe) size = shutil.get_terminal_size() print(size.columns, size.lines)
Output:
140 35 140, 35
python_terminalsize.txt · Last modified: by walter