Is it possible to make python program run function if example ctrl+f is pressed without any extrenal modules like pyinput? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it possible to make python program run function if example ctrl+f is pressed without any extrenal modules like pyinput?

Keyboard hotkeys in python

28th Jun 2019, 7:11 PM
Leo
Leo - avatar
4 Answers
+ 1
You could use a Tkinter frame in the background and use those events.
1st Jul 2019, 11:34 AM
Merijn Willemsen
Merijn Willemsen - avatar
0
thanks
1st Jul 2019, 11:35 AM
Leo
Leo - avatar
0
When projects get more advanced it's a good idea to start using a seperate module for the user input.
1st Jul 2019, 11:41 AM
Merijn Willemsen
Merijn Willemsen - avatar
0
ok
1st Jul 2019, 11:43 AM
Leo
Leo - avatar