title: How do I get IntelliJ to recognize common Python modules?
body: <p>I'm using IntelliJ 10 IDEA Ultimate Edition. </p>
  
  <p>I've created a new file Test.py, and IntelliJ has correctly switched to Python parsing mode. (I can confirm this by typing "d", it pops up "def" as a suggestion, and hitting tab correctly gives me "def :")</p>
  
  <p>However, when I try this code...</p>
  
  <pre><code>import os
  
  cwd = os.getcw &lt;Ctrl-space&gt;
  </code></pre>
  
  <p>Two things happen....</p>
  
  <ol>
  <li>I get a squggly underline underneath os and hovering over it gives me a "Unresolved reference 'os'" message</li>
  <li>I get no suggestions hitting Ctrl-space above, when I'm expecting to see "getcwd".</li>
  </ol>
  
  <p>I'm assuming that this must be a result of my not configuring IntelliJ properly in order to handle python modules, but I have no idea what it is I'm missing.</p>
  
  <p>Any IntelliJ/Python users able to help me out?</p>