By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,206 Members | 1,020 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,206 IT Pros & Developers. It's quick & easy.

Python and Turtle Graphics

P: n/a
If the Turtle gets himself into a large (or infinite) loop, is there any way
to stop him other than Ctrl-Alt-Del?

Brent
Jul 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Brent W. Hughes wrote:
If the Turtle gets himself into a large (or infinite) loop, is there any way
to stop him other than Ctrl-Alt-Del?


You could try using a flamingo, but I think that works best with
hedgehogs...

David
Jul 18 '05 #2

P: n/a
On Tue, 20 Jul 2004, David Fraser wrote:
Brent W. Hughes wrote:
If the Turtle gets himself into a large (or infinite) loop, is there any way
to stop him other than Ctrl-Alt-Del?


You could try using a flamingo, but I think that works best with
hedgehogs...


An interesting property of all three of these animals is that shouting
'Ctrl-C' at them causes them to stop in their tracks.

Jul 18 '05 #3

P: n/a
Christopher T King wrote:
On Tue, 20 Jul 2004, David Fraser wrote:

Brent W. Hughes wrote:
If the Turtle gets himself into a large (or infinite) loop, is there any way
to stop him other than Ctrl-Alt-Del?


You could try using a flamingo, but I think that works best with
hedgehogs...

An interesting property of all three of these animals is that shouting
'Ctrl-C' at them causes them to stop in their tracks.

Unless of course, any of the animals are looking rather Qt on a given
day. Then they'll only acknowledge that you shouted 'Ctrl-C' when you
either close them in a cage or forcefully kill them. :-)
Jul 18 '05 #4

P: n/a
On 2004-07-19, Brent W. Hughes <br**********@comcast.net> wrote:
If the Turtle gets himself into a large (or infinite) loop, is there any way
to stop him other than Ctrl-Alt-Del?


Depends on how you are interacting with your turtle.

From the interactive interpreter, you could use Ctrl-C.

Also, you might want to try the turtle ..er penguin
graphics module in pygsear:
http://www.nongnu.org/pygsear/

With that one you can use the Esc key to
break from a loop.

Jul 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.