Converting Python code to C/C++

Terry Reedy tjreedy at
Wed Jun 24 13:25:12 EDT 2009

>> Short: I need to turn a Python program that I (mostly) wrote into C 
>> code, and I am at a loss.
>> Now, my professor would like to have this exact code in C/C++, as she 
>> believes C is more compatible with MATLAB, and wants the code to be 
>> available in multiple languages in case a programmer works for her in 
>> the future who knows C but not Python. While I know a tiny bit of C 
>> (emphasis on the tiny),

Your professor should wait until your Python version is complete and in 
final form and until a C version is needed. Then hire someone competent 
in both languages to do the translation.

More information about the Python-list mailing list