Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #linux mint screen on script
- import pyautogui
- import time
- def function():
- while True:
- pyautogui.press("ctrl")
- print('Pressed ctrl to keep the screen alive')
- time.sleep(240)
- function()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement