Re: Efficient python 2-d arrays?

2011-01-17 Thread OAN
Hi, what about pytables? It's built for big data collections and it doesn't clog up the memory. Am 17.01.2011 23:54, schrieb Dan Stromberg: On Mon, Jan 17, 2011 at 2:20 PM, Jake Biesinger wrote: Hi all, Using numpy, I can create large 2-dimensional arrays quite easily. import numpy mylis

class attribute confusion

2010-12-03 Thread OAN
Hi, i was having a problem with class attributes initiated outside of __init__. This code is a demonstration of what i mean: class A(): mylist = [] def __init__(self): self.mylist.append(1) pass class B(A): def __init__(self): A.__init__(self) self.