views:

164

answers:

3

Is there any free Python to C translator? for example capable to translate such lib as lib for Fast content-aware image resizing (which already depends on some C libs) to C files?

+3  A: 

Shedskin translates Python code to C++.

Jonas H.
A: 

The fantastic PyPy project which aims to: "translate a Python-level description of the Python language itself to lower level languages", has a C backend. That is one of the lower level languages it aims to translate programs to is C.

Tendayi Mawushe
+3  A: 

I think that cython is what you're looking for http://www.cython.org/

pygabriel