how to refresh windows 10 with python
import pyautogui as dp import time dp.hotkey('win', 'd') dp.position(x = 1920,y =540) ### You can change x and y based on the resolution of your pc dp.click(x = 1920,y =540,button = 'right') dp.click(x = 1900,y =620)## These coordiantes are not universal, changes as per the pc resolution