title: Python search path - python can't find my modules
body: <p>I'm trying to run a script from the commandline, and python is having absolutely none of it:</p>
  
  <pre><code>[graffias:~/testing.tustincommercial.com]$ export PYTHONPATH=`pwd`:$PYTHONPATH                                          
  [graffias:~/testing.tustincommercial.com]$  python -c 'import oneclickcos.mainapp; mainapp.mail.worker_loop()'
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
  ImportError: No module named oneclickcos.mainapp
  [graffias:~/testing.tustincommercial.com]$ python
  Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40)
  [GCC 4.3.2] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import oneclickcos
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named oneclickcos
  &gt;&gt;&gt;
  [graffias:~/testing.tustincommercial.com]$ ls ./oneclickcos/mainapp/mail.py
  ./oneclickcos/mainapp/mail.py
  [graffias:~/testing.tustincommercial.com]$
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p><strong>Note for the unwary:</strong> The command above should be <code>$python -c 'import oneclickcos.mainapp.mail; oneclickcos.mainapp.mail.worker_loop()'</code> (another valid variant).</p>