Publisher review:Determine size of console window script is a Python implementation of few lines of C-code that get useful information about current working console on Windows. This script is a Python implementation of few lines of C-code that get useful information about current working console on Windows.
It may be useful for console application to proper formatting output. Recipe need ctypes package to be installed. When use handle of stdout for determining size of console and connect output of program via pipe to another program (e.g. pager 'more') then you get default 80x25 size.
In case of using handle of stderr for this purpose then pipe don't destroy actual size.
Determine size of console window 1.2 is a Python script for Development Tools scripts design by Alexander Belchenkoc.
It runs on following operating system: Windows.
Determine size of console window script is a Python implementation of few lines of C-code that get useful information about current working console on Windows.
Operating system:Windows