This topic is now archived and is closed to further replies.


Python, C++, Swig and classes ......

Recommended Posts

Hi, Im fairly new to Python and am really stuck at the mo. Is it possible to pass an instance of a class that i have created in C++ into a python script, get python to chnage some variables (i.e as in setting up a players attributes), and return teh instance of teh class to c++. I seem to be goin around in circles and am lost. I am using Python 2.2.3 adn SWIG to create teh wrapper class. Any help / tutorials would be greeatly appreciated. Thanks SeanF

Share this post

Link to post
Share on other sites