e3af2b1
1
2
3
4
5
6
import keyboard as kb import winsound as ws while True: if kb.is_pressed('space'): ws.Beep(1000, 10)