question about c++ and python

Diez B. Roggisch deets at nospam.web.de
Sun Jun 21 10:15:54 EDT 2009


Issa Kamar schrieb:
> Dear Sirs;
> 
> I'm a PhD student,i have a question i wish if you can help me really.I'm working in Linux ubuntu 8.10,i have a c++ file which i need to connect this file to a python file and run it,i wish really if u can send me the method that can help me to do this and really I'm very thankful.

If you send me money, I will send you the code.

Otherwise, I suggest you start googling a bit and find out how to map 
C++-classes to Python. There is an abundance of information on that 
topic out there. Popular options include SWIG, Boost::Python and SIP, 
the latter I can only recommend from personal experience.

Diez



More information about the Python-list mailing list