KeyboardInterrupt

mixo mixo at beth.uniforum.org.za
Fri Jul 20 10:00:56 EDT 2001


Peter Hansen wrote:

> "Owen F. Ransen" wrote:
> >
> > The Quick Python Book says that KeyboardInterrupt is
> > tested regularly when the Python interpreter is running,
> > but I have a program which may run for several minutes
> > without printing anything, and I find I cannot break out of
> > it with control-C.
> >
> > How can I get my program to be more responsive to control-C?
>
> This could be a platform-dependent issue.
>
> Are you by any chance running on Win2K?

I doubt it is a Win2K (or any other version of windoze version ) issue
as
I  had (and still have) a similar problem  :I  had  to  press controls-C
2 times
to break out of a program! (the  program  listens on a port for
connections -
and actually threads)




More information about the Python-list mailing list