[issue13609] Add "os.get_terminal_size()" function

Zbyszek Szmek report at bugs.python.org
Wed Feb 15 07:34:39 CET 2012


Zbyszek Szmek <zbyszek at in.waw.pl> added the comment:

Wouldn't this be quite unwieldy to use:
   os.get_terminal_size(sys.__stdout__.fileno(),
                        sys.__stdin__().fileno(),
                        sys.__stderr__.fileno())
?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13609>
_______________________________________


More information about the Python-bugs-list mailing list