Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python call function by string

getattr(obj, 'func')('foo', 'bar', 'args')
 
PREVIOUS NEXT
Tagged: #python #call #function #string
ADD COMMENT
Topic
Name
1+9 =