KeyboardInterrupt

Jon Clements joncle at googlemail.com
Wed Dec 9 19:19:24 EST 2009


On Dec 9, 11:53 pm, mattia <ger... at gmail.com> wrote:
> Hi all, can you provide me a simple code snippet to interrupt the
> execution of my program catching the KeyboardInterrupt signal?
>
> Thanks,
> Mattia

Errr, normally you can just catch the KeyboardInterrupt exception --
is that what you mean?

Jon.



More information about the Python-list mailing list