Any list larger than any number by way of dimensions?

Harald Massa cpl.19.ghum at
Mon Jun 28 22:36:06 CEST 2004


> data = [ ... some list ]
> buffersize = min(data,10)
> Of course what I really wanted was
> buffersize = min(len(data),10)

if my memory suits me right, when everything else fails, Python is just 
comparing the IDs of the objects. IDs are connected to the memory 


More information about the Python-list mailing list