Hi all: Is there a metalanguage capability in Python (I know there are many) to call a function having its name in a string?
Something like:
__call__("foo")
instead of:
foo()
Regards,
Tito
--
http://mail.python.org/mailman/listinfo/python-list
Hi all: Is there a metalanguage capability in Python (I know there are many) to call a function having its name in a string?
Something like:
__call__("foo")
instead of:
foo()
Regards,
Tito
--
http://mail.python.org/mailman/listinfo/python-list