How to run pynput.keyboard.listener in a class inherited from customtinker.Ctk?
I have a GUI written in Customtkinter, I want to make it possible to activate a script by pressing F6 in addition to clicking a button in the GUI itself. The way I wrote doesn’t work, the console opens, but the GUI itself doesn’t.