[Tutor] Fwd: Fwd: : Turtle
Alan Gauld
alan.gauld at yahoo.co.uk
Fri Jun 24 03:21:18 EDT 2016
On 24/06/16 03:02, Hershel Millman wrote:
> It tells me:
> Trace back (most recent call last):
> File "<stdin>", line 1, in <module>
> NameError: name 'turtle' is not defined
As I recall, the default install of Python on a Mac
does not include Tkinter. Turtle uses Tkinter so I
suspect turtle is not installed either.
To confirm that try
import Tkinter
and see if that also gives an error.
If I'm right you will need to ensure you use the
2.6 version for all your turtle stuff.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list