Re: the button of cancel

2005-11-13 Thread Ben Bush
On 11/13/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: Ben Bush wrote:> When I click the button of cancel,> I got the follwoing message. I want to see "Goodbye" on the console screen. > What to do?> KeyboardInterrupt: operation cancelled> num = input( "Enter a

Re: the button of cancel

2005-11-13 Thread Fredrik Lundh
Ben Bush wrote: > When I click the button of cancel, > I got the follwoing message. I want to see "Goodbye" on the console screen. > What to do? > KeyboardInterrupt: operation cancelled > num = input( "Enter a number between 1 and 100: " ) > while num &l

the button of cancel

2005-11-12 Thread Ben Bush
When I click the button of cancel, I got the follwoing message. I want to see "Goodbye" on the console screen.What to do?   Traceback (most recent call last):  File "C:\Python23\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript    exec co