Best way to determine user's screensize?

Igor Korot ikorot01 at gmail.com
Fri Oct 30 14:48:42 EDT 2020


Hi,

On Fri, Oct 30, 2020 at 12:26 PM Grant Edwards
<grant.b.edwards at gmail.com> wrote:
>
> On 2020-10-30, flaskee via Python-list <python-list at python.org> wrote:
>
> > What is the best approach to determining the user's available
> > screensize, when they open your python application?
>
> Why do you think that's something your application needs to know?
>
> I _hate_ applications that think just because they've been started
> they now own the entire computer and everything reachable from it.
>
> All you need to know is how big your application window is. The user's
> available screen size is none of your business.

In addition - what if the user decides to change the monitor DPI?
Then the screen size you retrieved will be useless...

Thank you.

>
> --
> Grant
>
> --
> https://mail.python.org/mailman/listinfo/python-list


More information about the Python-list mailing list