
python-consolesize
To use it:
from consolesize import ConsoleSize
print ConsoleSize.size
print ConsoleSize.width
print ConsoleSize.height
This module should work on Linux, Windows, and Mac OSX. Basically if it's not Windows, it attempts to use the 'stty' utility which I'm assuming is available on most non-Windows systems.
Project Information
- License: GNU GPL v3
- svn-based source control
Labels:
python
consolesize
consolewidth
console
windows
linux
osx