Hi, I'm a newbie to Python and I would like to know if someone can explain to me why the following script starts using in excess of 80Mb of memory, when the for loop is running: import sys import time start=time.time() for i in range(0,9999999) : pass end=time.time() print end-start If I change the top of the range to 999999, the interpreter only uses about 14Mb. Does the interpreter actually generate an individual value for everything in the range 0-9999999? I'm using ActivePython 2.1 on Win2K. Thanks Gregg Ward _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activepython
