This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
Get width and height of console | |
works on Linux, OS X, Windows, Cygwin(Windows) originally retrieved from: | |
http://stackoverflow.com/questions/566746/how-to-get-console-window-width-in-python | |
updated by Doncho Nikolaev Gunchev <[email protected]> to work with python 2 and 3, make pylint happy. |