Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Need help fixing this error please:NameError: global name is not defined

Received: by 10.224.189.75 with SMTP id dd11mr1276865qab.6.1346933278979;
        Thu, 06 Sep 2012 05:07:58 -0700 (PDT)
Received: by 10.52.35.104 with SMTP id g8mr128475vdj.19.1346933278902; Thu, 06
 Sep 2012 05:07:58 -0700 (PDT)
Path: da15ni51772qab.0!nntp.google.com!b19no102190qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: comp.lang.python
Date: Thu, 6 Sep 2012 05:07:58 -0700 (PDT)
In-Reply-To: <149e9472-ec31-4b74-9f20-d4945a9fb678@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.106.137.50;
 posting-account=iQWO3woAAACM2dbI9W1kUakko8lzoshW
NNTP-Posting-Host: 194.106.137.50
References: <149e9472-ec31-4b74-9f20-d4945a9fb678@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1c670c04-4367-4518-aa50-cf9adad8f6d2@googlegroups.com>
Subject: Re: Need help fixing this error please:NameError: global name is not defined
From: shaun <shaun.wisema...@gmail.com>
Injection-Date: Thu, 06 Sep 2012 12:07:58 +0000
Content-Type: text/plain; charset=ISO-8859-1

Hi Chris,

     I'm changing it into multiple classes because the script is going to get much larger its more for maintainability reasons rather than functionality reasons.

Thanks so much man it was the "self" fix you stated above. I woe you a pint of Guinness :D

Thanks again,
Shaun