Does python always need to compile ENTIRE program before it can start to run it???
peter at engcorp.com
Tue Nov 4 14:04:09 CET 2003
"Ellinghaus, Lance" wrote:
> That is correct. It is separate phases, but is it not true that after the
> module is loaded, it is then executed?
> This execution possibly can cause additional modules to be loaded. This is
> not the case if the 'import' statement is located within 'def' or 'class' as
> the code within the 'def' or 'class' is not executed until the
> function/class is called.
> Please correct me if I am wrong.
No correction needed. :-)
More information about the Python-list