where function
vorticitywolfe at gmail.com
vorticitywolfe at gmail.com
Sun Mar 18 18:19:32 EDT 2007
Is there a function in Python analogous to the "where" function in
IDL?
x=[0,1,2,3,4,2,8,9]
print where(x=2)
output:
[2,5]
More information about the Python-list
mailing list