Re: [Pythonmac-SIG] non-blocking keyboard input

2007-02-08 Thread Hamish Allan
On 2/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What's the best way to get non-blocking input from keyboard w/OS X 10.4? > >while(True) : > if nonBlockInputExists : > break > else : > # continue looping The 'select' module provides this functionality:

[Pythonmac-SIG] non-blocking keyboard input

2007-02-08 Thread Belinda_Thom
What's the best way to get non-blocking input from keyboard w/OS X 10.4? I've found various potential leads via Google, most using curses (which I've never used). I've not found any Mac-specific way of doing this (even checked the Mac Python Reference manual). On windows machines, folks were ta