Is it possible to compile a program written in Pyt

2019-01-17 09:56发布

I am new to the Python programming language. I was wondering if it is possible to compile a program to written in Python.

Is it possible to convert Python scripts to some lower level programming languages which then can be compiled to binary code?

A developer who is considering to code in Python might want to keep the possibility open to be able to go for binary distribution later.

7条回答
别忘想泡老子
2楼-- · 2019-01-17 10:35

If you really want, you could always compile with Cython. This will generate C code, which you can then compile with any C compiler such as GCC.

查看更多
登录 后发表回答