Calvin Fong wrote: > Hi, do you know the function to grab keyboards event in python > Thank a lot. > > > I don't have UNIX/Python at hand. Therefore I send you some lines for Windows. I hope it's helpful. Regards Bernhard Wolff import msvcrt while 1: if msvcrt.kbhit(): c = msvcrt.getch() if c != 'q': msvcrt.putch(c) else: break