Set Windows 10 Display scaling with Python?

  python, scaling, windows

So I have this Python program that sets and resets my Windows 10 pc resolution whenever I trigger it in order to more easily be able to use it with my 4K tv. Now however I would also like to increase the Windows 10 Display DPI Scaling with Python. So after setting the resolution, I would like to set the scaling factor to something like 150% instead of the default of 100%. Is this possible at all to do with for example the win32api in python?

Source: Windows Questions

LEAVE A COMMENT