Dynamically add function to module (embeded) ?

Ilariu Raducan ilariu at yahoo.com
Wed Jun 30 06:03:18 EDT 2004


Hi All,

In embeded python, is it possible to add functions to a module after initialization with Py_InitModule?
I don't know the function names and implementation of them at the compile time.
At run time I want to load them from some shared libraries and bind them to a module.

I know in pure python that is possible, so I think it should be a way to do it from C as well.
Can you help me with that?

Thank you,
Ilariu



More information about the Python-list mailing list