When writing command-line applications in Python, it's often useful to know the size of the terminal window. Knowing the terminal dimensions allows you to format text output neatly, create progress ...