Skip to content

Instantly share code, notes, and snippets.

@eula01
Created January 23, 2022 16:43
Show Gist options
  • Select an option

  • Save eula01/f1e395b89867e14f167954b9d48258ef to your computer and use it in GitHub Desktop.

Select an option

Save eula01/f1e395b89867e14f167954b9d48258ef to your computer and use it in GitHub Desktop.
# StayFocusd challenge solver (https://ibb.co/JtW2W9s) lol
from pynput.keyboard import Key, Controller
import time
keyboard = Controller()
name = input('enter text: ')
print('firing in 3 seconds')
time.sleep(3)
for i in name:
keyboard.press(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment