Re: [Edu-sig] Attribute Lookup Order

2009-02-06 Thread David MacQuigg
And I just noticed a great thread on comp.lang.python addressing the exact lookup order for obtaining attributes most recent post this morning. The Thread Title is Understanding Descriptors, Brian Allen Vanderburg II asked the initial question, and Aahz and Bruno Desthuillers came up with a

Re: [Edu-sig] Attribute Lookup Order

2009-02-06 Thread Scott David Daniels
About my message: ... Nickel summary, lookup order is not dirt simple, and reading and writing work differently. David MacQuigg wrote: Maybe I'm missing some subtleties, but it still seems simple to me. An attribute is looked up in the order object - class - superclasses, *UNLESS* that

Re: [Edu-sig] probability simulation

2009-02-06 Thread michel paul
Warren, Your book looks great! I'd be interested in seeing the rest of it. Yeah, we ended up discussing how to represent a deck of cards in class as well. One of the kids got inspired while creating the dice simulation and emailed me asking how to do something like that. So I was really glad