While Python is my favorite development language, there are times and places where a section of python code could be reused in a C or C++ application.
A completely automatic conversion is probably possible but my little program merely tackles the syntax. So when you've finished, you may still need to do a lot of work.
This program is a python script: writeC.py
To use: python writeC.py source.py destination.C
Since this project was spurred into action by the need to convert a flash program into python and back again (I needed to fix some ones Flash code but don't own a Flash compiler - see satellite). The python program to read the original flash (.fra) source is: readfra.py
To use: python readfra.py source.fra