[IronPython] Problem with KeyboardInterrupt by raw_input
b.Kriszio at gmx.de
Wed Nov 1 21:17:34 CET 2006
Hello IronPython people
I try to port a little read commands loop from C Python to IronPython
line = raw_input('>')
if line == 'quit':
With CPython typing asdf and then ^C I get
trying the same with IronPython, I get
and after some CR's following complete output is
Traceback (most recent call last):
File C:\D\py\basics\cmdloop_1.py, line 16, in Initialize
Batchvorgang abbrechen (J/N)?
Any suggestions how I can use ^C to cancel some input and not my loop.
More information about the Ironpython-users