Lionel wrote: > 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.
This should work on all platforms: from Tkinter import * r = Tk() r.withdraw() r.winfo_screenheight() r.winfo_screenwidth() r.winfo_pixels('1i') Regards, John -- http://mail.python.org/mailman/listinfo/python-list