Yun Mao wrote:
>a[ [1,0], [0,1] ] , which should give me
>[[4, 5], [1,2]]

Numeric:
take(take(a,[1,0]),[0,1],1)

fwiw,
Alan Isaac


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to