Newbie NameError problem

Paul Rudin paul.nospam at rudin.co.uk
Wed Dec 12 13:03:18 EST 2007


cokofreedom at gmail.com writes:

> On Dec 12, 5:51 pm, Paul Rudin <paul.nos... at rudin.co.uk> wrote:
>> MartinRineh... at gmail.com writes:
>> > I don't understand what I don't understand in the following:
>>
>> I haven't tried to understand what your code is doing - but the
>> NameError arises because you try to use Loc before its definition. Put
>> the definition first and the error should go away.
>
> Class Loc must be placed ABOVE the code that uses it.

Isn't that what I said?



More information about the Python-list mailing list