title: Python: How to get values of an array at certain index positions?
body: <p>I have a numpy array like this:</p>
  
  <pre><code>a = [0,88,26,3,48,85,65,16,97,83,91]
  </code></pre>
  
  <p>How can I get the values at certain index positions in ONE step? For example:</p>
  
  <pre><code>ind_pos = [1,5,7]
  </code></pre>
  
  <p>The result should be:</p>
  
  <pre><code>[88,85,16]
  </code></pre>