Re: How can i call array_length to get the length of array object?

2012-06-23 Thread Ignacio Mondino
On Sat, Jun 23, 2012 at 11:23 PM, gmspro wrote: > > Hi, > > I tried this, > >>> import array > >>> from array import array > >>> arr=array('i',[5,7,8]) > >>> arr.sg_length > Traceback (most recent call last): >   File "", line 1, in > AttributeError: 'array.array' object has no attribute 'sg_leng

Re: pythonize this!

2010-06-15 Thread Ignacio Mondino
_and_sqr(x) for x in range(0,2011)]) print result ok, the function has two exits, but im lazy at the moment :) -- --- Ignacio Mondino Don't Panic -- http://mail.python.org/mailman/listinfo/python-list