I&#39;ve written a program which calculates areas of grid cells distributed over the globe. It works fine with Python 2.5, however, when I run it with 2.4 (the Enthon edition) I get the following error:<br><br><span style="font-family: courier new,monospace;">
OverflowError: long int too large to convert to int</span><br><br>It occurs on this line:<br><br><span style="font-family: courier new,monospace;">&nbsp;for ix in range(nx): area[ix,iy]=gridarea&nbsp;&nbsp;&nbsp; </span><br><br clear="all">I have no idea which int it&#39;s referring to? The values of ix/nx will not exceed 360, iy will not exceed 180. Any suggestions on what to change for the backward compatability?
<br><br><br>