title: import error in python script
body: <p>I have this directory structure:</p>
  
  <pre><code>- program/
   -  --manage_dataset/
   -  ----__ init__.py
   -  ----dir1/
   -  ------__ init__.py
   -  ----dir2
   -  ------__ init__.py
   -  ----create_patch.py
   -  --test/
   -  ---- __ init__.py
   -  ----launcher.py
  </code></pre>
  
  <p>in laucher i need to use a function of create_patch.py so i put :</p>
  
  <pre><code>import manage_dataset.create_patch
  </code></pre>
  
  <p>in my ide (pycharm) work well but when I execute with terminal i have this error:</p>
  
  <pre><code>ImportError: No module named manage_dataset.create_patch
  </code></pre>
  
  <p>I tried to inser </p>
  
  <pre><code>sys.path.insert(0,path_to_program/manage_dataset)
  </code></pre>
  
  <p>but nothing change...</p>