Loading ...
Sorry, an error occurred while loading the content.

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

Expand Messages
  • sergijka
    ... installation of ... this file ... there is ... return a ... Well, the code v = VacuumEnvironment() w = EnvFrame(v) w.mainloop() draw the grid (for us
    Message 1 of 2 , Jul 28, 2006
    • 0 Attachment
      --- In aima-talk@yahoogroups.com, "ÁÕàÓöÙ" <kyxaxa@...> wrote:
      >
      > 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 -
      there is
      > no 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.


      Well, the code

      "
      v = VacuumEnvironment()
      w = EnvFrame(v)
      w.mainloop()
      "

      draw the grid (for us this is environment for agent) where the agent
      will live.

      But how to compel different agents to live in this environment?...
    Your message has been successfully submitted and would be delivered to recipients shortly.