Is python a interpreted or compiled language?

Stefan Behnel stefan_ml at behnel.de
Thu Jun 21 00:55:09 EDT 2012


Dave Angel, 21.06.2012 02:53:
> On 06/20/2012 07:30 PM, gmspro wrote:
>> Is python a interpreted or compiled language?
>
> Ian has given you a good answer.  But since you mention java, I'd like
> to point out a few things that are different between the two
> environments.  He and I are describing CPython;  jython and other
> implementations don't use .pyc files, and they behave differently.

In other words: it's not the language that is interpreted or compiled, it's
an implementation that interprets or compiles a language. It may do so in
various degrees of interpretation and compilation, such as JIT compilation
of otherwise interpreted code.

Stefan




More information about the Python-list mailing list