Kadane's Algorithm for 2D array with known boundaries
Input can be simplified using destructuring assignment and NumPy:

N, M, max_rows, max_cols = map(int, raw_input().split())
table = np.genfromtxt(sys.stdin)


By the PEP 8 standard, variable and function names should be written using lowercase_with_underscores.  The comment block for each function should be a docstring instead.

The kadane2DwithBounds() function should return its result instead of printing it.

The use of global variables N, M, table, and temp within the two functions is disconcerting.  table and temp should be passed explicitly.  N and M can be inferred by inspecting the table itself, and therefore don't need to be passed to the kadane functions.