Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get names of input arguments


def a_method(arg1, arg2):
    pass
  
>>> inspect.getfullargspec(a_method)
(['arg1', 'arg2'], None, None, None)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #names #input #arguments
ADD COMMENT
Topic
Name
5+9 =