Re: [Tutor] how to run python's Graphical User Interface for Environments in agents.py

2006-07-28 Thread Сергій
The entire last section of the code - from "import Tkinter as tk" to the end - is enclosed in triple-quotes ('''). This makes it into a string constant rather than code, effectively commenting it out. Try removing the two lines that just contain '''.Kent   I removed triple-quotes. And after learni

Re: [Tutor] how to run python's Graphical User Interface for Environments in agents.py

2006-07-28 Thread Kent Johnson
Сергій wrote: > > > > > > > I am reading " Artificial Intelligence: A Modern Approach > http://ai

[Tutor] how to run python's Graphical User Interface for Environments in agents.py

2006-07-28 Thread Сергій
  I am reading " Artificial Intelligence: A Modern Approach" now (http://aima.cs.berkeley.edu/), and there are some ready python code from this book ( http://aima.cs.berkeley.edu/python/readme.html). And I have some problems with the code http://aima.cs.berkeley.edu/python/agents.py     It is said