get screen resolution without using a library

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Our great sponsors
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern API for authentication & user identity.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • screeninfo

    Fetch location and size of physical screens.

    Depends how far down the rabbit hole you want to go. Take a look at a library for this, eg https://github.com/rr-/screeninfo/tree/master/screeninfo/enumerators and you see it uses lower level libraries itself. If you really feel you want to implementing syscalls yourself be my guest (eg for win32 see how ctypes is implemented https://github.com/python/cpython/blob/main/Modules/_ctypes/_ctypes.c).

  • CPython

    The Python programming language

    Depends how far down the rabbit hole you want to go. Take a look at a library for this, eg https://github.com/rr-/screeninfo/tree/master/screeninfo/enumerators and you see it uses lower level libraries itself. If you really feel you want to implementing syscalls yourself be my guest (eg for win32 see how ctypes is implemented https://github.com/python/cpython/blob/main/Modules/_ctypes/_ctypes.c).

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • requests

    A simple, yet elegant, HTTP library.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts