Hi!
I want to create a python module in embedded python from string (The
module script is stored in a database).
My code looks like this:
command.py:
class Command:
def execute(self):
return "foo"
main.cpp:
#include
#include
#include
int main(int argc, char **argv)
Hi,
I'm currently embedding and extending Python using Boost.Python. I'm
trying to expose some c++ library (OIS) classes to my Python scripts.
This library mainly exposes abstract classes since the actual
implementation are derived classes specialized for each operating system.
So, i have to
On 07/30/2011 01:15 PM, Valentin Perrelle wrote:
Hi,
I'm currently embedding and extending Python using Boost.Python. I'm
trying to expose some c++ library (OIS) classes to my Python scripts.
This library mainly exposes abstract classes since the actual
implementation are derived classes special
Thank you for your answer.
> Why do you think you can't have noncopyable?
I understood it prevents the registration of converters for the class. I
just read the manual again and now i understand it only remove converter
which copy instances, i.e. conversion of values.
Anyhow, I'd recommend
On 07/30/2011 03:18 PM, Valentin Perrelle wrote:
Thanks to you, I know understand some points i couldn't catch reading
the manual 3-4 times. I'm now able to fix the current problem by
importing my module before assigning the variable 'keyboard'. Which
leads me to another question : is there a way