type of simple object

Colin J. Williams cjw at sympatico.ca
Wed Feb 2 09:08:41 EST 2005


ajikoe at gmail.com wrote:
> Thank you guys.
> 
> My function should multiply every element  of a list, for example
> "something"
> and "something" can be an integer or another list.
> If it deals with integer than it is ok, but
> If it deals with list than it become false for example list*2 =
> listlist, and what I really want is to mutlitply its member.
> That's why I need to know the type of my data in "something".
> 
> By the way I am new in python, I heard that it has a MatLab
> capabilities, How good is that? Since It would be very nice when we can
> do what MatLab do in python.....
> 
> 
> Sincerely Yours,
> pujo
> 
If you are looking for MatLab like facilities you might consider 
numarray, available from sourceforge.

Colin W.



More information about the Python-list mailing list