On Jan 17, 2008 6:15 AM, Andy Cheesman <[EMAIL PROTECTED]> wrote:
> My only arising question is why should i
> "derive from object, so that you get a new-style class."
>
This list discussed this topic a couple of weeks ago. Recklessly
simplifying, it boils down to this: By using new-style classe
That's great and it works too, thank you!
My only arising question is why should i
"derive from object, so that you get a new-style class."
I've looked online and found this
(http://www.geocities.com/foetsch/python/new_style_classes.htm) but I
not sure it tells why I would want to do this this
>>>
My initial tests using pickle and a simple class system (shown below) have
failed. The method shown below fails with a AttributeError:
'FakeModule' object has no attribute 'Spod', so when I create a an empty
class Spod in the new session, it generates an IndexError:(list index out of
range)
I
Hi people
I've written a complex program in python/numpy/scipy which creates a
dictionary of objects(which takes a while to create). I am hoping to
save these objects to disk and then access them using a different
session, thus bypassing the time to create the objects.
My initial tests using p