Re: [Tutor] NameError: is defined

2011-07-19 Thread Andre Engels
On Wed, Jul 20, 2011 at 4:37 AM, brandon w wrote: > ** > Hi > I am running Linux with Python 2.6.6. I have done lists, tuples, > dictionaries, etc. Now I want to move on to creating a "class". I keep > getting an error for everything I try. Here is the error: * > > NameError: name 'MyClass' is no

[Tutor] NameError: is defined

2011-07-19 Thread brandon w
Hi I am running Linux with Python 2.6.6. I have done lists, tuples, dictionaries, etc. Now I want to move on to creating a "class". I keep getting an error for everything I try. Here is the error: * NameError: name 'MyClass' is not defined* I had originally tried to create my own class by wat