[Tutor] TRULY NEWBIE - MENTOR NEEDED (fwd)

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Thu Nov 24 09:51:54 CET 2005



---------- Forwarded message ----------
Date: Wed, 23 Nov 2005 21:43:27 -0400
From: mike donato <yncdonato at msn.com>
To: dyoo at hkn.eecs.berkeley.edu
Subject: Re: [Tutor] TRULY NEWBIE - MENTOR NEEDED

Thank You Danny
I changed - and didnt get an executable, not sure what is supposed to be the
output.

Mike


>From: Danny Yoo <dyoo at hkn.eecs.berkeley.edu>
>To: mike donato <yncdonato at msn.com>
>CC: tutor at python.org
>Subject: Re: [Tutor] TRULY NEWBIE - MENTOR NEEDED
>Date: Tue, 22 Nov 2005 14:46:14 -0800 (PST)
>
>
>
>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!
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the Tutor mailing list