dvise most beginners to learn Python 3.
--
Guilherme P. de Freitas
http://www.gpfreitas.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
bers" list. Otherwise, (b) is better. Right?
In my application, I will do many more lookups on the members list
than adding/removing members (this sounds weird, feels like I'm Dr.
Frankenstein), so I will go with (b).
Thanks again for all the suggestions,
Guilherme
--
Guilherme P.
Thanks everybody for all the suggestions and ideas. I still did not
have time to look them all over, but I will. Thanks again!
Best,
Guilherme
On Thu, Jan 14, 2010 at 4:52 AM, Alan Gauld wrote:
>
> "Guilherme P. de Freitas" wrote
>
>> Here is my problem. I have two cl
)
else:
object.__delattr__(self, obj)
john = Body()
john.arm = Member()
print(john.members)
del john.arm
print(john.members)
On Wed, Jan 13, 2010 at 6:24 PM, Guilherme P. de Freitas
wrote:
> Hi everybody,
>
> Here is my problem. I have two classes, 'Body' and
deleted. I need any instance of 'Body' to
keep an up-to-date list of all its attributes that belong to the class
'Member'. How do I do this?
Best,
Guilherme
--
Guilherme P. de Freitas
http://www.gpfreitas.com
___
Tutor maillist -