Getting screen dims platform specific? Say it ain't so!

Lionel lionel.keene at gmail.com
Tue Feb 24 19:12:36 EST 2009


On Feb 24, 3:53 pm, Luis Zarrabeitia <ky... at uh.cu> wrote:
> On Tuesday 24 February 2009 05:57:52 pm Lionel wrote:
>
> > from win32api import GetSystemMetrics
>
> I'd guess that win32api is patform specific, as in "api for win32".
>
> --
> Luis Zarrabeitia (aka Kyrie)
> Fac. de Matemática y Computación, UH.http://profesores.matcom.uh.cu/~kyrie

Yes, it's platform specific. I was just trying anyway to see if it
would work.

In a nutshell, what I need is a way to acquire the screen dimensions
(in pixels) and its dpi setting.



More information about the Python-list mailing list