title: Python module not found (directory problems)
body: <p>I have a Python 2.5 project with following directory structure:</p>
  
  <pre><code>database/__init__.py
  database/createDBConnection.py
  gui/mainwindow.py
  </code></pre>
  
  <p>When I try to run</p>
  
  <pre><code>python gui/mainwindow.py
  </code></pre>
  
  <p>I get the error</p>
  
  <pre><code>C:\PopGen&gt;python gui/mainwindow.py
  Traceback (most recent call last):
    File "gui/mainwindow.py", line 12, in &lt;module&gt;
      from database.createDBConnection import createDBC
  ImportError: No module named database.createDBConnection
  </code></pre>
  
  <p>In mainwindow.py, there is following statement on line 12</p>
  
  <pre><code>from database.createDBConnection import createDBC
  </code></pre>
  
  <p>The problem occurs because Python can't find the database module.</p>
  
  <p>Question: What can I do in order to fix this error?</p>
  
  <p>Here's the code of the project: <a href="https://www.dropbox.com/sh/edfutlba960atp9/MwFpaepEpl" rel="nofollow">https://www.dropbox.com/sh/edfutlba960atp9/MwFpaepEpl</a></p>
  
  <p>I tried to use</p>
  
  <pre><code>C:\PopGen&gt;python -m gui.mainwindow
  </code></pre>
  
  <p>but got these errors</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Python25\lib\runpy.py", line 95, in run_module
      filename, loader, alter_sys)
    File "C:\Python25\lib\runpy.py", line 52, in _run_module_code
      mod_name, mod_fname, mod_loader)
    File "C:\Python25\lib\runpy.py", line 32, in _run_code
      exec code in run_globals
    File "C:\PopGen\gui\mainwindow.py", line 13, in &lt;module&gt;
      from file_menu.wizard_window_validate import Wizard
  ImportError: No module named file_menu.wizard_window_validate
  </code></pre>