[Tutor] Repeat function until...

Nethirlon nethirlon at gmail.com
Thu Jun 24 08:18:46 CEST 2010


On Wed, Jun 23, 2010 at 10:13 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> On Thu, 24 Jun 2010 04:09:38 am Alan Gauld wrote:
>> "Steven D'Aprano" <steve at pearwood.info> wrote
>>
>> > The easiest way is to just run forever, and stop when the user
>> > interrupts it with ctrl-D (or ctrl-Z on Windows):
>>
>> I think that would be Ctrl-C on both.
>> Ctrl-D/Z is EOF not Interrupt. Certainly on Windows Ctrl-Z won't
>> interrupt a loop.
>
> Doh!
>
> Thanks for the correction.
>
>
> --
> Steven D'Aprano
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>

Thank you all for replying to my question.

It helped a lot and I have the solution to my problem thanks to you all!

Kind regards,
Nethirlon


More information about the Tutor mailing list