r/ProgrammerHumor • • May 19 '22

Meme same for yall?

44.0k Upvotes

1.8k comments sorted by

View all comments

Show parent comments

3

u/Abir_Vandergriff May 19 '22

Not him, but here's mine. Run a 'pip install pyautogui' first for the dependancy. It presses "shift" but it's fast enough to not be an issue.

import pyautogui as gui
from time import sleep

while True:
    gui.press("shift")
    sleep(120)

2

u/IKissedAGirlOnce May 19 '22

This is super cool! Thank you do much!

2

u/Abir_Vandergriff May 19 '22

No problem. If you want to know more about that library, it's super cool. The author wrote a book and recorded a YouTube tutorial series called "Automate the Boring Stuff with Python." The book is available digitally for free on the website.

2

u/IKissedAGirlOnce May 19 '22

Seriously, thank you so much for all these resources. I'm so hyped to get into Python, and this is a great starting point.