Keys To The Kingdom

Tim Daneliuk tundra at
Tue Jul 10 11:00:02 CEST 2001

Tim Hammerquist wrote:
> This works for me:
>     try:
>         input = raw_input()
>     except KeyboardInterrupt:
>         # handle Ctrl-C
> The only difference I see is the capital 'B' you have in
> 'KeyboardInterrupt'.  Change it to lowercase and see what happens.

(Whoops, I spelled it wrong here, but correctly in my program.)

This code fragment works fine under Unix (FreeBSD 4.3) but not under
Windows 2000.  Is this a known bug or is there some magic I'm missing?
Tim Daneliuk
tundra at

More information about the Python-list mailing list