[Numpy-discussion] A simple question about type().

Paulo J. S. Silva rsilva at ime.usp.br
Thu Mar 11 04:58:38 EST 2004


Hi,

Funny, I have just entered the list and I can answer this one!

Try

type(my_array) is arraytype

That worked to me.

Best,

Paulo
-- 
Paulo José da Silva e Silva 
Professor Assistente do Dep. de Ciência da Computação
(Assistant Professor of the Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: rsilva at ime.usp.br          Web: http://www.ime.usp.br/~rsilva

Teoria é o que não entendemos o    (Theory is something we don't)
suficiente para chamar de prática. (understand well enough to call) 
                                   (practice)




More information about the NumPy-Discussion mailing list