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

14 Answers
14

Leave a Reply

Your email address will not be published. Required fields are marked *