On Tue, Sep 20, 2016, at 11:48, Gabriele Brambilla wrote:
> I have this script
> points = 33750000000
>     for iw in range(points):
>         print iw

> does it mean that my number of points is too high?

Probably. The most likely thing to cause something to exit with a status
of "Killed" on Linux is that your system ran out of memory.

In particular, on Python 2, the "range" function returns a real list
that allocates space for all those numbers from 0 to 33749999999. Try
using xrange instead, or if you can, switch to Python 3.
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:

Reply via email to