Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #just run 'pyinstaller filename.py --onefile' to run in the background
- import keyboard
- while True:
- keyboard.wait('q')
- keyboard.press_and_release('a')
- keyboard.press_and_release('b')
- keyboard.press_and_release('c')
- print('q was pressed!')
Add Comment
Please, Sign In to add comment