TypeError: only length-1 arrays can be converted to Python scalars.
nure123 at gmail.com
nure123 at gmail.com
Thu Feb 28 11:42:59 EST 2008
Hi All,
Could anybody tell me what is the problem with the following sequence
with which I always get the above error message. I use Numeric and
Python 2.4
x=array([1,2,3,4])
y=exp(x)
Nure
More information about the Python-list
mailing list