title: Importing from custom package fails in Python
body: <p>So I have a <code>main.py file</code> inside <code>/home/richard/projects/hello-python</code> directory:</p>
  
  <pre><code>import sys
     sys.path.append('/home/richard/projects/hello-python')
  
     from Encode  import Ffmpeg
     x = Ffmpeg()
     x.encode()
  </code></pre>
  
  <p>I have then created a package in the <code>/home/richard/projects/hello-python/Encode</code> directory:</p>
  
  <pre><code>__init__.py
  Ffmpeg.py
  </code></pre>
  
  <p>Init file is empty. <code>Ffmpeg.py</code> file contains:</p>
  
  <pre><code>class Ffmpeg(object):
  
  
     i = 150
  
     def __init__(self):
         print "i am constructor"
  
     def encode(self):
         print "hello world"
  </code></pre>
  
  <p>Now I run the <code>main.py</code> script like this:</p>
  
  <pre><code>python main.py
  </code></pre>
  
  <p>I get this output:</p>
  
  <pre><code>richard@richard-desktop:~/projects/hello-python$ python main.py 
  Traceback (most recent call last):
    File "main.py", line 5, in &lt;module&gt;
      x = Ffmpeg()
  TypeError: 'module' object is not callable
  richard@richard-desktop:~/projects/hello-python$ 
  </code></pre>
  
  <p>I think there is some problem with my <code>sys.path</code> so my module cannot be imported correctly but I am not sure how to fix it.</p>