Python and Turtle Graphics

B

Brent W. Hughes

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

Brent
 
D

David Fraser

Brent said:
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
 
C

Christopher T King

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.
 
M

Matthew Scott

Christopher said:
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. :)
 
L

Lee Harr

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top