"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
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]>
>
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
>
>
>
"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
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-
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