Abstract methods in Python
<p>I am having trouble in using inheritance with Python. While the concept seems too easy for me in Java yet up till now I have been unable to understand in Python which is surprising to me atleast.</p>

<p>I have a prototype which follow:</p>

<pre><code>class Shape():
   def __init__(self,shape_name):
       self.shape = shape_name

class Rectangle(Shape):
   def __init__(self,name):
       self.shape = name
</code></pre>

<p>In the above code how can I make an abstract method that would need to be implemented for all the subclasses ??</p>
