[Tutor] Talking between C++ & Python ?
Alan Gauld
alan.gauld at btinternet.com
Thu Apr 5 19:54:14 CEST 2007
"Dave S" <pythontut at pusspaws.net> wrote
> 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 ?
Sounds like a job for SOAP or XML/RPC.
I'd probably opt for SOAP in this case.
Have a look at the various python SOAP modules.
pySOAP is one example.
Alan G.
More information about the Tutor
mailing list