title: Python import problem in command line mode
body: <p>I have the following code structure running perfectly fine in my IDE(Aptana Studio):</p>
  
  <pre><code>/ProjectName/
      /lib
      /src
          /Module1
          /Module2
          /Module3
           __init__.py
           pyClass.py         ##Python Class
          /main
           main.py
  </code></pre>
  
  <p>main.py :</p>
  
  <pre><code>import Module3.pyClass as pc
  
  myClass=pc.pyClass()
  </code></pre>
  
  <p>but when I try to run it from command line , import error !</p>
  
  <pre><code>importError: No module named Module3.pyClass
  </code></pre>
  
  <p>I am running from the /main directory. Is it because it doesn't know where to find Module3 to import?How should i tell where it should look for Module3 ?</p>
  
  <p>Thank you.</p>