Re: [Tutor] Mixing in and Mixing out classes in python

2008-08-01 Thread Alan Gauld
Tomaz Bevec [EMAIL PROTECTED] wrote I'm working on a simulation of cellular growth patterns ...and cells can potentially gain and lose these behaviors over the course of the simulation. OK, That might be a valid scenario. But personally I'd probably implement that as an attribute of the cell

Re: [Tutor] Mixing in and Mixing out classes in python

2008-07-31 Thread Alan Gauld
Tomaz Bevec [EMAIL PROTECTED] wrote I am using the following function to mixin in classes into specific object instances ... Is there an analogous way to Mixout classes from an instance at runtime? I'm sure it is possible but... Are you just asking out of interest? Or do you have a real

Re: [Tutor] Mixing in and Mixing out classes in python

2008-07-31 Thread Tomaz Bevec
to dynamically mix out I'd be glad to here it. Thanks, Tomaz --- On Thu, 7/31/08, Alan Gauld [EMAIL PROTECTED] wrote: From: Alan Gauld [EMAIL PROTECTED] Subject: Re: [Tutor] Mixing in and Mixing out classes in python To: tutor@python.org Date: Thursday, July 31, 2008, 3:16 PM Tomaz Bevec

Re: [Tutor] Mixing in and Mixing out classes in python

2008-07-31 Thread Kent Johnson
On Thu, Jul 31, 2008 at 8:09 PM, Tomaz Bevec [EMAIL PROTECTED] wrote: Thanks for your reply Alan, I am partially asking out of interest, but I also have a potential application. I'm working on a simulation of cellular growth patterns (basically cell instances interacting stochastically on