So I&#39;ve written my first python program (the ubiquitous &#39;Hello, World&#39;).<br><br>Already, I&#39;m having problems. First, the question I can&#39;t find the answer to.<br><br>Where (exactly) am I supposed to save my files? When I wrote &quot;
hello.py&quot; there was no clearly stated &quot;Make sure you save it HERE or else Python won&#39;t know where to look for it.&quot; <br><br>In case that won&#39;t solve the problem, here are the gory details.<br><br>I wrote &quot;
hello.py&quot; with TextWrangler. I can get it to run from TextWrangler by clicking on the &quot;run in terminal&quot; command. And it runs beautifully. A masterful demonstration of my ability to follow directions.<br><br>
But I can&#39;t get it to run directly from Python. If I go to the terminal and type &quot;python hello.py&quot; (which is what the instructions say I should be doing!) I get the following:<br><br>&gt;&gt;&gt; hello.py<br>
Traceback (most recent call last):<br>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in ?<br>NameError: name &#39;hello&#39; is not defined<br>&gt;&gt;&gt; <br><br>When I run debugger (in TextWrangler) I get the following:<br>
<br>Traceback (most recent call last):<br>&nbsp; File &quot;/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/pdb.py&quot;, line 9, in ?<br>&nbsp;&nbsp;&nbsp; import cmd<br>&nbsp; File &quot;/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/cmd.py&quot;, line 48, in ?
<br>&nbsp;&nbsp;&nbsp; import string<br>&nbsp; File &quot;/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/string.py&quot;, line 83, in ?<br>&nbsp;&nbsp;&nbsp; import re as _re<br>&nbsp; File &quot;/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/re.py&quot;, line 5, in ?
<br>&nbsp;&nbsp;&nbsp; from sre import *<br>&nbsp; File &quot;/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/sre.py&quot;, line 97, in ?<br>&nbsp;&nbsp;&nbsp; import sre_compile<br>&nbsp; File &quot;/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/sre_compile.py&quot;, line 17, in ?
<br>&nbsp;&nbsp;&nbsp; assert _sre.MAGIC == MAGIC, &quot;SRE module mismatch&quot;<br>AssertionError: SRE module mismatch<br>logout<br>[Process completed]<br><br><br>All help gratefully taken with both hands!<br><br>Alex<br><br><br>