Answers for "python call a functionn in str function"

-1

python call function by string

getattr(obj, 'func')('foo', 'bar', 'args')
Posted by: Guest on March-20-2021

Code answers related to "python call a functionn in str function"

Python Answers by Framework

Browse Popular Code Answers by Language