Does python always need to compile ENTIRE program before it can start to run it???

Peter Hansen peter at engcorp.com
Mon Nov 3 16:09:20 EST 2003


seberino at spawar.navy.mil wrote:
> 
> Lance
> 
> Thanks for the info.  I agree that the initial script you
> run must be compiled completely before it can execute.
> Does "completely" =  all the imported modules too?

No, compilation is a separate step *prior* to execution, and
"import" is a statement that is *executed*, not something special
that happens during compilation.

-Peter




More information about the Python-list mailing list