[python-win32] Finding screen size in a DOS window on Xp

Tim Golden tim.golden at viacom-outdoor.co.uk
Wed Nov 17 16:02:58 CET 2004


[Tony Cappellini]
| Would someone point me to a way to find the number of lines 
| per screen,
| when a NON-GUI python program is runnining in a DOS box on 
| XP, that is NOT
| maximized ?

Have a look at Chris Gonnerman's WConIO:

http://newcenturycomputers.net/projects/wconio.html

And I seem to remember seeing a ctypes-based equivalent somewhere,
but I can't remember where.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


More information about the Python-win32 mailing list