Re: platform independent kbhit()

2005-01-17 Thread Scott David Daniels
Hans Georg Krauthaeuser wrote: I use msvcrt.kbhit() to check for a user keyboard event on windows. But now, I would prefer to make the module independent from the platform used. This is not in general possible; many machines do not have keyboards. You can, perhaps, build one for yourself from a

platform independent kbhit()

2005-01-17 Thread Hans Georg Krauthaeuser
Hey all, this is probably a FAQ, but I didn't found the answer... I use msvcrt.kbhit() to check for a user keyboard event on windows. But now, I would prefer to make the module independent from the platform used. I already know that I can use curses (on linux/unix) or Tkinter. Also, I found thi