I am using Python 3.4 and following along the book "Think Python: how to think like a computer scientist". I actually figured out this issue a week ago, but saved over the original code when it failed to run like it did last week. Right now I have:
import tkinter
from swampy.TurtleWorld import *
which yields:
ImportError: No module named 'Tkinter'
When I had the code working last week, I loosely recall that in the 'import tkinter' line, there was a portion at the end that looked like this: [Tkinter]
. I tried import tkinter as Tkinter
but it doesn't work.
If I change it to Python2.7. And run
import Tkinter
from swampy.TurtleWorld import *
world = TurtleWorld()
bob = Turtle()
print (bob)
fd(bob, 100)
lt(bob)
fd(bob, 100)
wait_for_user()
The TurtleWorld window opens but there is no turtle. How can I get this to work again (Python 3.4 preferred)?