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

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 stochasti

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

2008-07-31 Thread Tomaz Bevec
tion I think I'll just try something else, but if you have any idea on how 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 i

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 r

[Tutor] Mixing in and Mixing out classes in python

2008-07-31 Thread Tomaz Bevec
Hello, I am using the following function to mixin in classes into specific object instances (this is adapted from python-list written py J.Jacob "new-style-classes-mixin", Fri Aug 9 14:05:41 CEST 2002): *** def doMixin(targ