Clang++ compiler - analog for python
Question
is there a similar alternative updated and working compiler for python like clang for c++?
I find error messages unclear sometimes.
Solution
What exactly are you trying to do?
C and C++ are compiled languages, that's why there are several compilers for them like CLANG. However Python is an interpreted language, it can not be compiled in a way as a C/C++ code can.
Technically, they are compiled to byte-code, but it's done automatically when you run your script, for example: python my_script.py
-- it will create or update a my_script.pyc
file and then the interpreter will run this compiled version.
There are several tools to create a shared library of your code (with cython for example) or to use your code with a Just-In-Time compiler (with pypy) if those are the things you are looking for.