daily pastebin goal
19%
SHARE
TWEET

Untitled

a guest May 17th, 2018 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #just run 'pyinstaller filename.py --onefile' to run in the background
  2. import keyboard
  3. while True:
  4.     keyboard.wait('q')
  5.     keyboard.press_and_release('a')
  6.     keyboard.press_and_release('b')
  7.     keyboard.press_and_release('c')
  8.     print('q was pressed!')
RAW Paste Data
Top