How to get console window width in python

Posted by umnik700 on Stack Overflow See other posts from Stack Overflow or by umnik700
Published on 2009-02-19T19:17:19Z Indexed on 2010/06/09 22:42 UTC
Read the original article Hit count: 145

Filed under:
|
|
|
|

Is there a way in python to programmatically determine the width of the console? I mean the number of characters that fits in one line without wrapping, not the pixel width of the window.

Edit

Looking for a solution that works on Linux

© Stack Overflow or respective owner

Related posts about python

Related posts about linux