Re: [Tutor] Class error

2007-06-17 Thread Alan Gauld
"Henry Dominik" <[EMAIL PROTECTED]> wrote > Besides, why did I have to do this: class > EmplAddrBookEntry(AddrBookEntry.AddrBookEntry): > > The AddrBookEntry and EmplAddrBookEntry classes > are in the same folder, Python doesn't care abpout the foldrs it only cares about the modules. They ar

Re: [Tutor] Class error

2007-06-17 Thread Andreas Kostyrka
AddrBookEntry classes are in the same folder, I > didn't think I needed to call another module or something.. > > Well, I need to learn more :) > > Thanks anyway > > --Dom > - Original Message - > From: "Alan Gauld" <[EMAIL PROTECTED]> >

Re: [Tutor] Class error

2007-06-17 Thread Henry Dominik
Well, I need to learn more :) Thanks anyway --Dom - Original Message - From: "Alan Gauld" <[EMAIL PROTECTED]> To: Sent: Sunday, June 17, 2007 7:28 PM Subject: Re: [Tutor] Class error > > "Henry Dominik" <[EMAIL PROTECTED]> wrote > > >

Re: [Tutor] Class error

2007-06-17 Thread Alan Gauld
"Henry Dominik" <[EMAIL PROTECTED]> wrote > import AddrBookEntry > > class EmplAddrBookEntry(AddrBookEntry): This says you are creating a new class that inherits from the *module* AddrBookEntry. Notice that the error message referred to the module not the class... You probably meant: class

Re: [Tutor] Class error

2007-06-17 Thread Luke Paireepinart
Henry Dominik wrote: > Hello people, > > I was trying my hands on Python's Classes and have a first hurdle and can't > seem to get past it. > > -Below is the error message -- > > Traceback (most recent call last): > File "C:/Development/python/EmplAddrBookEntry.py", line 3, in -toplevel-

[Tutor] Class error

2007-06-17 Thread Henry Dominik
Hello people, I was trying my hands on Python's Classes and have a first hurdle and can't seem to get past it. -Below is the error message -- Traceback (most recent call last): File "C:/Development/python/EmplAddrBookEntry.py", line 3, in -toplevel- class EmplAddrBookEntry(AddrBoo