get array element

Bryan.Fodness at gmail.com Bryan.Fodness at gmail.com
Thu Apr 10 13:22:44 EDT 2008


I have an array, and I would like to get the indice value.

a = array([13,14,15,16])

I would like something like a.getindice(15)

If I want 15 it would return 2



More information about the Python-list mailing list