469,312 Members | 2,524 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,312 developers. It's quick & easy.

Dynamically add function to module (embeded) ?

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
Jul 18 '05 #1
0 1075

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by jen_designs | last post: by
11 posts views Thread by Steven D'Aprano | last post: by
5 posts views Thread by Christoph Haas | last post: by
4 posts views Thread by rkmr.em | last post: by
reply views Thread by rkmr.em | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.