Using C++ classes in python
Michael Andersson
a98mican at ida.his.se
Wed Jan 29 16:52:00 EST 2003
More information about the Python-list mailing list
Wed Jan 29 16:52:00 EST 2003
- Previous message (by thread): Using C++ classes in python
- Next message (by thread): Using C++ classes in python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi! Is it possible to create a class in C++ that can be instansiated in a python script? I currently solve this by creating a static data member in each class that points to an instance of the class. Then each registered static member function uses this pointer to access the correct instance each time a static member functions is called from a python script. This approach is far from optimal. Or is there a better approach? Best regards, /Mickey
- Previous message (by thread): Using C++ classes in python
- Next message (by thread): Using C++ classes in python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list