[Tutor] Talking between C++ & Python ?

Dave S pythontut at pusspaws.net
Thu Apr 5 19:27:50 CEST 2007

Hi all,

I have written a Python app, a company who don't use Python want to integrate 
its back end with their C++ coded GUI.

At the moment they are proposing using CSV files to communicate between the 
Python & C++, ie C++ GUI generates a CSV, calls Python back end, back end 
does the work and generates return CSV, Python exits back to C++.

This would work but seems a bit messy. Any comments of suggestions on a better 
solution ? 

The data to & from the C++, Python code consists of fairly large tables of up 
to 80,000 items.

Many thanks for your help in advance


More information about the Tutor mailing list