/ Published in: Python
Expand |
Embed | Plain Text
import sys methodToCall = getattr(sys.modules[__name__], "method") result = methodToCall()
You need to login to post a comment.
import sys methodToCall = getattr(sys.modules[__name__], "method") result = methodToCall()
You need to login to post a comment.