what is the easiest way to detect key presses in python 3 on a linux machine?,main()