import pynput from pynput.keyboard import Key, Listener import logging