Python 2.6
This has a new Python module
It run's also with Python 2.5
You can download it separately from here:
http://svn.python.org/view/python/trunk/Lib/lib-tk/turtle.py?view=log
Docs are here:
http://docs.python.org/dev/library/turtle.html#module-turtle
HTH
Gregor
Edward Cherlin schrieb:
Which Python are you using?
Idle/Python 2.5 say:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
shape("turtle")
NameError: name 'shape' is not defined
python orbit1.py
Traceback (most recent call last):
File "orbit1.py", line 6, in <module>
speed(0)
File "/usr/lib/python2.5/lib-tk/turtle.py", line 707, in speed
def speed(speed): return _getpen().speed(speed)
File "/usr/lib/python2.5/lib-tk/turtle.py", line 588, in speed
"one of %s" % (speed, speeds))
ValueError: 0 is not a valid speed. speed must be one of ['fastest',
'fast', 'normal', 'slow', 'slowest']
_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig