title: Python class definition--import statement
body: <p>I have defined 2 classes- Person &amp; Manager. The Manager inherits the Person class.
  I get a error while trying to import the Person class..</p>
  
  <p>Code is give below.</p>
  
  <p>Person.py</p>
  
  <pre><code>class Person:
      def __init__(self, name, age, pay=0, job=None):
          self.name = name
          self.age  = age
          self.pay  = pay
          self.job  = job
  
      def lastname(self):
          return  self.name.split()[-1]
  
      def giveraise(self,percent):
          #return self.pay *= (1.0 + percent)
          self.pay *= (1.0 + percent)
          return self.pay
  </code></pre>
  
  <p>Manager.py</p>
  
  <pre><code>from Basics import Person
  
  class Manager(Person):
      def giveRaise(self, percent, bonus=0.1):
          self.pay *= (1.0 + percent + bonus)        
          return self.pay
  </code></pre>
  
  <p>Error statements:</p>
  
  <p>C:\Python27\Basics>Person.py</p>
  
  <p>C:\Python27\Basics>Manager.py
  Traceback (most recent call last):
    File "C:\Python27\Basics\Manager.py", line 1, in 
      from Basics import Person
  ImportError: No module named Basics</p>
  
  <p>Why do I get the No module found error?</p>