Hi there,

How can I turn a string into a callable object/function?

I have a = 'len', and I want to do: if callable(eval(a)): print
"callable", but that doesn't quite work the way I want. :)

Regards,

Guillermo
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to