Hi there, I'm an beginner-intermediate c++ programmer, and I've also been programming in Python for over a year also . I have also read through the mailing list archive. I'm working on a project as a hobbie, it also will help me to gain more appreciation of C/C++ and Python. some friends of mine have written (not 100% completed yet) a DBMS(engine, parser, the lot), and I've been thinking of writing api for it and port it to python. but in order to do that, I'll need a better understanding of Python and C++, I assume. so I was wondering, what are the essentials that I need to know in order to be able to write C++ codes which can be imported by Python and vice versa? Your helps are much appreciated. cheers Bill Shui
so I was wondering, what are the essentials that I need to know in order to be able to write C++ codes which can be imported by Python and vice versa?
Have a read through the Programming Python book on extending/embedding Python. See also the examples in the source: Demo/embed/* Demo/extend/* Modules/xxmodule.c You might get a better response posting this to comp.lang.python... -------------------------------------------- Adrian Eyre <mailto:a.eyre@optichrome.com> Optichrome Computer Solutions Ltd Maybury Road, Woking, Surrey, GU21 5HX, UK Tel: +44 1483 740 233 Fax: +44 1483 760 644 http://www.optichrome.com --------------------------------------------
participants (2)
-
Adrian Eyre -
Bill Shui