Re: Lambda alternative?

2009-04-16 Thread mousemeat
On 16 Apr, 10:21, Hrvoje Niksic wrote: > mousemeat writes: > > Thank you for everyone's explanations, help and interest on this > > one.  I have reworked my code as described and promised myself not > > to use lambdas ever again (i still think they are an elegant

Re: What IDE support python 3.0.1 ?

2009-04-16 Thread mousemeat
Use eclipse with the pydev module. I use python(x,y) which is a big bundle of most of the python stuff you could possibly want (including scientific stuff, but its not mandatory to use it) configured to work together. It uses python 2.5. You can have the best of both worlds. Search for 'from __

Re: Lambda alternative?

2009-04-16 Thread mousemeat
On 16 Apr, 09:39, Duncan Booth wrote: > Paul Rubin wrote: > > Duncan Booth writes: > >> dumped = dumps(air) > >> t = loads(dumped) > >> print t # works fine > > > Hmm, well, that doesn't really pickle the function; it pickles a class > > instance that records where

Re: Lambda alternative?

2009-04-15 Thread mousemeat
On 15 Apr, 16:27, Piet van Oostrum wrote: > > mousem...@gmail.com (m) wrote: > >m> Hello all, > >m> I really like the lambda function for a particular task i have: I am > >m> writing some simulation software, working with many different > >m> materials. Each material with many different proper

Lambda alternative?

2009-04-15 Thread mousemeat
Hello all, I really like the lambda function for a particular task i have: I am writing some simulation software, working with many different materials. Each material with many different properties, some are temperature dependent, others aren't, some are defined by a function, some are a lookup ta