Submatrix Python

#Submatrix with a to (b-1) row as new rows,  c to (d-1) columns as new columns
A[a:b, c:d]  
CertainBadProgrammer