DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to convert string to function name in python
def add(x,y): print('does something') eval("add")(x,y)
PREVIOUS
NEXT
Tagged:
#convert
#string
#function
#python
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit