473,513 Members | 2,561 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python and Turtle Graphics

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
4 5004
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1549
by: Emile van Sebille | last post by:
QOTW: "Oddly enough it is in Python that I have had the most fun programming. It is in Python that I find myself not only the most expressive but the most elegant in my programming. In Python my...
1
6708
by: dbrown2 | last post by:
I typically use IDLE for editing and debug. On Windows at least, IDLE and the standard turtle graphics module do not mix. I think both use Tkinter. For now I use IPython and Jedit when using...
46
2950
by: tnozh | last post by:
Hi, I am blessed with a *very* gifted nine-years old daughter for whom I have recently installed an old GNU/Linux Mandrake 7.2 on an equally old Pentium Pro box. She is enjoying it tremendously...
38
4756
by: BORT | last post by:
Please forgive me if this is TOO newbie-ish. I am toying with the idea of teaching my ten year old a little about programming. I started my search with something like "best FREE programming...
2
4546
by: evil_daffid | last post by:
hi, Im reseaching fractals, and how to make them in python using recursion. I've written a bit of code to make the koch isalnd but something isn't right, I have the basic shape but there's...
0
334
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 393 open (+15) / 3315 closed (+17) / 3708 total (+32) Bugs : 908 open (+22) / 5975 closed (+49) / 6883 total (+71) RFE : 223 open...
7
20670
by: Dick Moores | last post by:
I accidentally stumbled across the Turtle Graphics module (turtle.py) the other day and have been having some fun with it. Now I'm wondering if there is a way to build into a script the saving...
4
6822
by: hello123 | last post by:
I saw this program from a website... Any solution ? Turtle Graphics: The Logo language, which is particularly popular among personal computer user, made the concept of turtle graphics famous. ...
4
2104
by: Terrence Brannon | last post by:
Hello, I have written a program to draw a vescica piscis <http:// en.wikipedia.org/wiki/Vesica_piscis> from turtle import * def main(): setup(width=400, height=400) r = 50 color("black")
0
7158
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7380
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7523
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5683
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.