title: Shortest way to slice even/odd lines from a python array?
body: <p>Or, a more general question would be, how to slice an array to get every n-th line, so for even/odd you'd want to skip one line, but in the general case you'd want to get every n-th lines, skipping n-1 lines.</p>