Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I haven't done it yet, but I know where the project I am working on will be going. I was wondering if anyone here could shed some light on how I would be able to use some c++ code in my python.
Here is a bit more background info on the problem. There is a camera device that all the drivers and conversion between capture modes are in a C++ SDK/code. I being that the project is written in python I would like to have this occure in python for its cross platform capabilities.
I was reading on SWIG but for some reason I am drawing blank, well hit a mental block on how to use SWIG to import/implement C++ in Python. So I was wondering if anyone knows a site or how to go about doing it. And for any examples lets say I have to use 8 C++ classes/objects (not that I have to, just want to make sure that I cover my bases).