Loganinit / python-zaid

Ethical hacking python scripts developed based on the course Python & Ethical Hacking From Scratch by Zaid Sabih
129 stars 95 forks source link

No module named 'pynput' #1

Open MuhammadFaisal12q opened 4 years ago

MuhammadFaisal12q commented 4 years ago

!/usr/bin/python

import pynput.keyboard

def process_key_press(key): print (key)

keyboard_listener=pynput.keyboard.Listener(on_press=process_key_press) with keyboard_listener: keyboard_listener.join()

Vedant-Bhalgama commented 3 years ago

pip install pynput