[C++-sig] Exposing C++ class to Python

Stefan Seefeld seefeld at sympatico.ca
Wed Mar 4 14:26:41 CET 2009


Vinaya Shrestha wrote:
> Hello,
>         I need to be able to expose a C++ class to Python, say pass a 
> C++ object reference to Python and make modifications on the object 
> using Python scripting. I tried to use boost.python library for the 
> same but without any success. Can anyone help me ?
Please send some code that doesn't work the way you expect (with details 
concerning what you want it to do, as opposed to what it actually does). 
Then we can try to work from there.

Thanks,
       Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the Cplusplus-sig mailing list