DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+2 =
Submit