title: Python: using downloaded modules
body: <p>I am new to Python and mostly used my own code. But so now I downloaded a package that I need for some problem I have.</p>
  
  <p>Example structure:</p>
  
  <pre><code>root\
      externals\
          __init__.py
          cowfactory\
              __init__.py
              cow.py
              milk.py
  
      kittens.py
  </code></pre>
  
  <p>Now the cowfactory's <code>__init__.py</code> does <code>from cowfactory import cow</code>. This gives an import error. </p>
  
  <p>I could fix it and change the import statement to <code>from externals.cowfactory import cow</code> but something tells me that there is an easier way since it's not very practical. </p>
  
  <p>An other fix could be to put the cowfactory package in the root of my project but that's not very tidy either.</p>
  
  <p>I think I have to do something with the <code>__init__.py</code> file in the externals directory but I am not sure what.</p>