How can I toy with this .py file?
<p>I'm learning Python just so I can tinker with the <a href="http://aima.cs.berkeley.edu/code.html" rel="nofollow">files from AIMA</a> easily. I know Java and C++, but I find the AIMA code on the repositories to be too obfuscated. The Python code looks simpler and more elegant...yet, I don't know Python. </p>

<p>I wanna import the functions in <a href="http://aima-python.googlecode.com/svn/trunk/search.py" rel="nofollow">search.py</a>.  </p>

<p>I tried creating a search2.py file like this:</p>

<pre><code>import search

class Problem2(Problem):
    pass
</code></pre>

<p>on the folder where search.py is and got:</p>

<pre><code>~/aima/aima-python$ python search2.py
Traceback (most recent call last):
  File "search2.py", line 3, in &lt;module&gt;
    class Problem2(Problem):
NameError: name 'Problem' is not defined
</code></pre>

<p>Why is this?</p>
