ops, I forgot to use the self.
so in this example what i was trying to do worked. I'll look further in my
original program.
sorry to bother you.
>From: "Marcelo Urbano Lima" <[EMAIL PROTECTED]>
>To: python-list@python.org
>Subject: object instance after if isalpha()
>Date: Wed, 12 Apr 2006 20:4
Marcelo Urbano Lima wrote:
> class abc:
> def __init__(self):
> name='marcelo'
> print x.name
> Traceback (most recent call last):
> File "1.py", line 12, in ?
> print x.name
> AttributeError: abc instance has no attribute 'name'
In Python, you explicitly include a reference to an obje