But I was hoping for something built-in, and something non-OS
specific.
I don't know about built-ins, but I do believe that pygame (which *is*
cross-platform) will let you get at that information:
http://www.pygame.org/docs/ref/display.html#pygame.display.Info
On Fri, 28 Aug 2009 11:13:06 -0700, AK Eric <warp...@sbcglobal.net> wrote:
Thought this would be easy, maybe I'm missing something :) Trying to
query the x,y resolution of my screen. I've seen this available
through http://python.net/crew/mhammond/win32/ :
from win32api import GetSystemMetrics
print "width =", GetSystemMetrics (0)
print "height =",GetSystemMetrics (1)
But I was hoping for something built-in, and something non-OS
specific. Is that available? Would be nice to detect for multiple
monitors as well, but I'm probably asking too much :)
Thanks!
--
Rami Chowdhury
"Never attribute to malice that which can be attributed to stupidity" --
Hanlon's Razor
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)
--
http://mail.python.org/mailman/listinfo/python-list