Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python function get number of arguments

def func(arg1, arg2):
  	pass

parameter_count = func.__code__.co_argcount
 
PREVIOUS NEXT
Tagged: #python #function #number #arguments
ADD COMMENT
Topic
Name
4+5 =