Guest User

Untitled

a guest
May 23rd, 2022
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. from pynput import keyboard
  2.  
  3. listener = keyboard.Listener(on_press=lambda a: print(a))
  4. listener.start()
  5. listener.join()
Advertisement
Add Comment
Please, Sign In to add comment