From: Andrea R. <ari...@pi...> - 2004-03-11 12:16:59
|
Hi, it is surely a silly question, but I'm quite new to Python and Numpy. So I hope you can help me, I've searched Numpy's manual without successs. Suppose I want to test if a paremeter inside a function is an array or not. How can I test this? type(my_array) is array returns 'False'!! Thanks in advance, Andrea. --- Andrea Riciputi "Science is like sex: sometimes something useful comes out, but that is not the reason we are doing it" -- (Richard Feynman) |