Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
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).
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).
Related posts
- urllib3 v2.0.0 is now generally available!
- I built a chatbot that lets you talk to any Github repository
- Development environment for the Python requests package
- Trying to install autoscan from https://github.com/NiNiyas/autoscan and stuck with no idea what the problem is.
- Pain when going back to other languages