On Thu, 26 May 2005, William O'Higgins wrote:
> I am running into problems with script evaluation order - specifically,
> the Python interpreter seems to read and execute scripts line by line.
Hi William,
Ah! This happens to me too; one common idiom to avoid definition-order
issues like this
William O'Higgins utoronto.ca> writes:
> This is a problem if you are used to Perl, where the whole script is
> parsed first (Perl also auto-vivifies variables, but that's a different
> problem for a different day). Here is a test script:
The Python compiler parses the whole script too, can't c
I am running into problems with script evaluation order - specifically,
the Python interpreter seems to read and execute scripts line by line.
This is a problem if you are used to Perl, where the whole script is
parsed first (Perl also auto-vivifies variables, but that's a different
problem for a d