Injecting python function in an embedded python engine
kernel at tekno-soft.it
Mon Apr 6 18:58:12 CEST 2009
Hi All in the list,
I've embedded python v2.6.x engine into my application without any problem.
Now I would like to inject some additional functions after importing a
So, basically I'm importing a python module via PyImport_ImportModule()
The python module is a simple set of functions and I would check if some
does exist or not, than if doesn't I would add it from my C application.
a function does exist or not isn't an issue, it works without any
problem, my problem
is only how to inject a new function in an already imported module.
Thanks in advance,
More information about the Python-list