In the python command line, I can do
>>> a array([ 0, 1, 3, 10, 1, 0, 0, 3, 6]) >>> print a [ 0 1 3 10 1 0 0 3 6] But in a .py file, I can only do print, but not directly 'a'. What if I want to see the whole array([ 0, 1, 3, 10, 1, 0, 0, 3, 6])?
array, exactly? Is it the Pythonarraytype?print 'array(%s)' % a.str(a)it is a numpy array.