Newbie NameError problem

cokofreedom at gmail.com cokofreedom at gmail.com
Thu Dec 13 03:55:51 EST 2007


On Dec 12, 7:03 pm, Paul Rudin <paul.nos... at rudin.co.uk> wrote:
> cokofree... 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?

I had had a few too many Coffee's, had thought the extra commenting
would aid :)



More information about the Python-list mailing list