Our great sponsors
-
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).
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-