Answers for "python3 get terminal window size"

1

python console width

import os
rows, columns = os.popen('stty size', 'r').read().split()
Posted by: Guest on September-01-2020

Python Answers by Framework

Browse Popular Code Answers by Language