title: Slicing off a subarray of a given shape
body: <p>Let A by a d-dimensional array in numpy and let sh be a d-tuple of positive integers. Is there an elegant way how to define a sub-array </p>
  
  <blockquote>
    <p>A[0:sh[0], 0:sh[1], ..., 0:sh[d-1]]</p>
  </blockquote>
  
  <p>("lower left" subtensor)? Something like A[sh] or A[*sh] which actually works...</p>