In python how to get name of a class inside its static method
<p>how to get name of a class inside static method, i have inheritance
and want name of derived class</p>

<p>IN following example what shall be there in place of <strong>XXX</strong> in method  my_name()</p>

<pre><code>class snake()
   @staticmethod
   def my_name():  
      print XXX.__name___

class python (snake)
   pass
class cobra (snake)
   pass

python.my_name()
# I want output to be python

cobra.my_name()   
# I want output to be cobra
</code></pre>
