when you are working with a 2 dimensional array (or list of lists) using this syntax addresses the whole first dimension and the range specified in the second argument. as such -
s = [11, 12, 13, 14]
s2 = [21, 22, 23, 24]
s3 = [s, s2] # List of lists
s4 = array(s3) # 2-dimensional array
print s4[:,1:3]
-> [[12, 13],
[22, 23]]
as you can see, this runs over the first dimension entirely and prints the second and third element of the second dimensions
EDIT:
as mentioned by @tobias_k in the comments - the array() function is provided by the numpy package so you need to add a proper import for it.
this syntax is provided by the package for 2-dimensional arrays and not for ordinary list-of-lists.
numpy