title: How to retrieve the name of the arguments passed in a function using Decorators
body: <pre><code>import sys
  def entryExit(f):
      def new_f(self,*args):
          print "Entering", f.__name__,self.__class__.__name__ 
          f(self,*args)
          print "Exited", f.__name__,self.__class__.__name__
      return new_f
  
  
  class A:
      @entryExit
      def move(self,g,h):
          print "hello"
          print g,h           
  
  a=A()
  a.move(5,7)
  </code></pre>
  
  <p>The above code outputs </p>
  
  <pre><code>Entering move A
  hello
  5 7
  Exited move A
  </code></pre>
  
  <p>I was able to retrieve the method name as well as the class in which it is define using decorators. But i wasnt able to retrieve the name of the method parameters during runtime.</p>
  
  <p>Basically i need an output like this</p>
  
  <pre><code>Entering move A g,h
  hello
  5 7
  Exited move A g,h
  </code></pre>
  
  <p>So what should i add in the print statements to get an output like above.</p>
  
  <p>Thank you </p>