On Tue, 22 Nov 2005, mike donato wrote:
> Greetings, I am new student to programming and am experimenting with > PYTHON. From what I have read, seems to be a very versatile language. > In the following excercise I am getting an error > > class String(str, Object): [class definition cut] > > Traceback (most recent call last): > File "<pyshell#0>", line 11, in -toplevel- > class String(str, Object): > NameError: name 'Object' is not defined Hi Mike, The error is true: Python doesn't know of any class named 'Object'. What you may be looking for is the 'object' class (lowercase 'o'). Good luck! _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
