memory usage

John Machin sjmachin at lexicon.net
Wed May 7 17:20:30 EDT 2003


Nagy Gabor <linux42 at freemail.c3.hu> wrote in message news:<mailman.1052303970.11712.python-list at python.org>...

> >>> for i in range( 1, 600000):
> ...     fields.append( A() )

Use xrange()




More information about the Python-list mailing list