Sebastian Haase wrote:
> Thanks,
> I just found
> numpy.isscalar() and numpy.issctype()   ?
> These sound like they would do what I need - what is the difference 
> between the two ?
>   
Oh, yeah. 

numpy.issctype works with type objects
numpy.isscalar works with instances

Neither of them distinguish between scalars and "numbers." 

If you get errors with isscalar it would be nice to know what they are.

-Travis


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to