Is shutil.get_terminal_size useless?

Michael Torrie torriem at gmail.com
Sat Jan 28 11:29:42 EST 2017


On 01/28/2017 09:15 AM, Steve D'Aprano wrote:
> Then get_terminal_size() should raise, unless you explicitly ask for a
> default size.

Which it does if you call it on the standard out file handle, which is
the default, and for most applications, the most useful.





More information about the Python-list mailing list