Using msvcrt (in Windows), how to catch Enter key?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Oct 30 02:58:45 EDT 2007


En Tue, 30 Oct 2007 01:46:19 -0300, Dick Moores <rdm at rcblue.com> escribió:

> At 06:34 PM 10/29/2007, Gabriel Genellina wrote:

>> The underlying function in Windows is Sleep (or SleepEx) which takes an
>> argument in milliseconds. 0.0001s = 0.1ms and it's rounded to 0.
>
> Ah, useful information. Thank you. Where'd you learn that?

Microsoft's Windows API Reference:
http://msdn2.microsoft.com/en-us/library/aa383749.aspx

The Sleep function is at  
http://msdn2.microsoft.com/en-us/library/ms686298.aspx

-- 
Gabriel Genellina




More information about the Python-list mailing list