title: Getting a sublist of a Python list, with the given indices?
body: <p>I have a Python list, say <code>a = [0,1,2,3,4,5,6]</code>. I also have a list of indices, say <code>b = [0,2,4,5]</code>. How can I get the list of elements of <code>a</code> with indices in <code>b</code>?</p>