Cross-Platform ReadKey

2005-11-21 Thread Dustan
I found this site that has the code for readkey for Windows, Unix, and in an updated version, Mac: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892 . The Mac object returns a character whether or not a key was pressed. I modified the Windows object to do the same when I downloaded i

Cross-Platform Readkey (one more try...)

2005-11-27 Thread Dustan
I've posted this before, but not gotten an answer: I found this site that has code that does readkey for Windows, Unix, and in an updated version, Mac: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892 The Mac readkey class returns a character whether or not a key was pressed. I modi