I am currently adding a scripting console to one of the applications I
develop. I would like to, at runtime, add functions that can be called
by the python code in the console. Something like
// c#
public int AddIt(int a, int b)
{
return a + b;
}
then, I would like to add that function (and possibly functions from
plugins) so they can be called from python. Do I need to create a
module and add the functions to the module? Is there a better way?
Thanks,
slide
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com