Is there any free Python to C translator? [closed]

空扰寡人 提交于 2019-12-03 14:42:57

问题


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?


回答1:


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




回答2:


Shedskin translates Python code to C++.




回答3:


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.



来源:https://stackoverflow.com/questions/2639195/is-there-any-free-python-to-c-translator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!