[Tutor] Repeat function until...
Steven D'Aprano
steve at pearwood.info
Wed Jun 23 22:13:11 CEST 2010
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
More information about the Tutor
mailing list