I have changed everything on other answers but nothing works.
from tkinter import * import tkinter as tk import tkinter import pynput from pynput.keyboard impor