Dynamically add function to module (embeded) ?
From: Ilariu Raducan (ilariu_at_yahoo.com)
Date: 06/30/04
- Next message: Manlio Perillo: "Re: Stderr and Pythonw"
- Previous message: Peter Otten: "Improving logging, was Re: Optional use of logging library module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jun 2004 11:03:18 +0100
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
- Next message: Manlio Perillo: "Re: Stderr and Pythonw"
- Previous message: Peter Otten: "Improving logging, was Re: Optional use of logging library module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]