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 in the http://aima.cs.berkeley.edu/python/agents.html:
# GUI - Graphical User Interface for Environments
# If you do not have Tkinter installed, either get a new installation of
Python
# (Tkinter is standard in all new releases), or delete the rest of this file
# and muddle through without a GUI.
I have python24.
But just "*v = VacuumEnvironment(); w = EnvFrame(v);*" do nothing - I don't see any Graphical User Interface for Environments.
What am I doing wrong and how to compel this piece of code to return a Graphical User Interface for Environments?
Thanks in advance for help.
# GUI - Graphical User Interface for Environments
# If you do not have Tkinter installed, either get a new installation of
Python
# (Tkinter is standard in all new releases), or delete the rest of this file
# and muddle through without a GUI.
I have python24.
But just "*v = VacuumEnvironment(); w = EnvFrame(v);*" do nothing - I don't see any Graphical User Interface for Environments.
What am I doing wrong and how to compel this piece of code to return a Graphical User Interface for Environments?
Thanks in advance for help.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor