That's the reason I am using SWIG

http://www.swig.org

For C++ classes, you can get a working Python module autmatically. It
also has advanced features, like "directors", enablig subclassing from
Python (to be used in de C++ side).

However, I should warn you SWIG is not as friendly as Pyrex. But I used
it to wrap nontrivial libraries written in C and C++.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to