Steve Holden wrote:
> Evan Klitzke wrote:
>> On 7/2/07, Cathy Murphy <[EMAIL PROTECTED]> wrote:
>>> Is python a compiler language or interpreted language. If it is 
>>> interpreter
>>> , then why do we have to compile it?
>>
>> It's an interpreted language. It is compiled into bytecode (not
>> machine code) the first time a script is run to speed up subsequent
>> executions of a script.
>>
> While the flavor of this answer is correct, in strict point of fact 
> Python *doesn't* compile the scripts it executes, only the modules that 
> are imported.

I think you mean that CPython doesn't save the results of the 
compilation of a script. The scripts are compiled every time they are 
run, as you go on to say.
-- 
Michael Hoffman
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to