<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Look at the example code at:<br>
<a class="moz-txt-link-freetext" href="http://docs.python.org/py3k/library/turtle.html#turtle.towards">http://docs.python.org/py3k/library/turtle.html#turtle.towards</a><br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre><span class="kn">from</span> <span class="nn">turtle</span> <span class="k">import</span> <span class="o">*</span>
<span class="n">color</span><span class="p">(</span><span class="s">'red'</span><span class="p">,</span> <span class="s">'yellow'</span><span class="p">)</span>
<span class="n">begin_fill</span><span class="p">()</span>
<span class="k">while</span> <span class="k">True</span><span class="p">:</span>
<span class="n">forward</span><span class="p">(</span><span class="mi">200</span><span class="p">)</span>
<span class="n">left</span><span class="p">(</span><span class="mi">170</span><span class="p">)</span>
<span class="k">if</span> <span class="nb">abs</span><span class="p">(</span><span class="n">pos</span><span class="p">())</span> <span class="o"><</span> <span class="mi">1</span><span class="p">:</span>
<span class="k">break</span>
<span class="n">end_fill</span><span class="p">()</span>
<span class="n">done</span><span class="p">()</span></pre>
<br>
It calls the done() function at the end. However, this function is
not documented.<br>
My experimentation shows that this is really coming from the turtle
module, so it should be documented here.. (or at least pls give some
pointer to its documentation).<br>
Bests,<br>
Csaba<br>
</body>
</html>