title: How to run class from command line using python file.py?
body: <p>when i run python filename.py, it does not prompt for input or print the output. What command do I have to run to run the class Base1()?</p>
  
  <pre><code>class Base(TestCase):
  
      def setUp(self):
         #prompts for inpt
         ......
  
  class Base1(Base):
  
      def base1(self):
          print('.......')
          return x
  
      def base2(self): 
          output = Base1.base1(self)
          print(output)
  </code></pre>