Hi all,
When reading Python source code of Peter Norvig's AI book, I found it
hard for me to understand the idea of slot (function nested in
function). Please see program() nested in make_agent_program(),
why not use program() directly?
## http://aima-python.googlecode.com/svn/trunk/agents.py
Davy a écrit :
Hi all,
When reading Python source code of Peter Norvig's AI book, I found it
hard for me to understand the idea of slot (function nested in
function).
First point : this code seems to be based on an older (way older) Python
version, so some things would not be done that
Davy [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
| Hi all,
|
| When reading Python source code of Peter Norvig's AI book, I found it
| hard for me to understand the idea of slot (function nested in
| function). Please see program() nested in make_agent_program(),
| why not use