Lukáš wrote:
> However, unfortunately it throws an "syntax error":

Ahh, this is the detail that was missing from your stack overflow post - but it 
isn't strictly required, it just made it a lot more obvious.

The problem here is that "exec" is a keyword in Python so you can't use that as 
your function name. You could use "exec_" or execute or something like that 
instead. Alternately you could write:

getattr(helper, 'exec')(...)

I also answered on stack overflow in case someone runs into this issue there.


_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to