title: Python Standard Library not installed?
body: <p>I'm fairly new to Python and recently started development on a new mac mini. As you know it comes with 2.7 installed.</p>
  
  <p>The problem I'm running across is the Standard Library doesn't seem to be installed.</p>
  
  <p>I get a syntax error when importing modules (SyntaxError: invalid syntax).</p>
  
  <p>I was running this code with the argv datafile.csv </p>
  
  <pre><code>import csv
  import sys
  
  stocks.csv = argv
  f = open(sys.argv[1], 'rt')
  
  try:
      reader = csv.reader(f)
      for row in reader:
          print row
  finally:
      f.close()
  </code></pre>
  
  <p>After awhile of this I decided to run the interpreter and get help.</p>
  
  <p>When I ran the interpreter and do help(csv) or most other modules (sys works just fine) I get this error:</p>
  
  <pre><code>&gt;&gt;&gt; import csv
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "csv.py", line 1
      import 
            ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>Do I need to install the library or am I accessing it wrong?</p>
  
  <p>Thanks.</p>