On Thursday 13 November 2008 15:40:31 Alan Baljeu wrote: > I'm reading the Python extension tutorial, and I cannot believe the > embedding section. It tells me the only way to call a python function is > to callout to python to pass back a function object which I then save so I > can call it when I need to. This seems ridiculous. Surely there is a way > to obtain Python function objects without going through that! Does > somebody have a way to ask for a function by name?
I don't see the problem. AFAICS, "ask for a function by name" is "ask python [i.e. callout to python] for a function [which is an object that I can safe when I want to call it repeatedly] by name". Which part could be simpler? Greetings, Hans _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig