[Tutor] TRULY NEWBIE - MENTOR NEEDED (fwd)

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Fri Nov 25 22:49:25 CET 2005



---------- Forwarded message ----------
Date: Fri, 25 Nov 2005 08:59:30 -0400
From: mike donato <yncdonato at msn.com>
To: dyoo at hkn.eecs.berkeley.edu
Subject: Re: [Tutor] TRULY NEWBIE - MENTOR NEEDED

Dan, what I meant was that the program does not run. Why?
Thanks


>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!
>

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 4.5.py
Url: http://mail.python.org/pipermail/tutor/attachments/20051125/cae87248/4.5-0001.asc


More information about the Tutor mailing list