[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python Program Help

On 21/07/2020 22:25, Terry Reedy wrote:
> The only way I discovered to get that error, on Windows, is to hit 
> control-D in response to the prompt.

Slight correction: On Windows, EOF is signaled with Ctrl-Z. This is the 
same as hitting F6 in the legacy console (can't check with Win10 at the 
moment, but I believe it's the same there).

Ctrl-D (the Unixy EOF) is returned simply as '\x04' on Windows.