I am reading a Think Python book from Allen Downey. For chapter 4, you need to use a set of modules called Swampy . I downloaded and installed it.
The problem is that the modules were written in Python 2, and I have Python 3 (on Windows 7 RC1). When I started the TurtleWorld module from Swampy, I got error messages in the print and exec statements that now work in Python 3. I fixed these errors by including GUI and World modules in the code, including brackets and exec. I also received an error message that the Tkinter module was not found. It turned out that in Python 3, the module name is written in lowercase t.
The third error is more complicated: ImportError: there is no module named tkFont.
Does anyone have any ideas please? Thanks.
source
share