Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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
Comment

PREVIOUS NEXT
Code Example
Python :: python install libs 
Python :: How do I mock an uploaded file in django? 
Python :: les librairies python a maitriser pour faire du machine learning 
Python :: RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() 
Python :: pyqt5 change button color 
Python :: how to send get request python 
Python :: swap keys and values in dictionary python 
Python :: python get copied text 
Python :: check pip version 
Python :: mongodb python get all documents 
Python :: django runserver 
Python :: panda count how many values are less than n in a column 
Python :: edge driver selenium python 
Python :: divide two columns pandas 
Python :: pygame change color mouse hover 
Python :: how to multiply inputs in python 
Python :: get video duration opencv python 
Python :: web3py to wei 
Python :: bar chart with seaborn 
Python :: datetime one month ago python 
Python :: min max and avg function of python 
Python :: python time execution 
Python :: mouse in pygame 
Python :: tkinter start maximized 
Python :: how to make text bold in tkinter 
Python :: python program that takes command line arguments as input and print the number of arguments 
Python :: split filename and extension python 
Python :: json not readable python 
Python :: modify dict key name python 
Python :: number of times a value occurs in dataframne 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =