27 Jan
2014
27 Jan
'14
12:29 p.m.
On Mon, 27 Jan 2014 20:22:53 +0800 Vajrasky Kok <sky.kok@speaklikeaking.com> wrote:
from itertools import repeat list(repeat('a', 2**31)) Traceback (most recent call last): File "<stdin>", line 1, in <module> MemoryError
Sure, just adjust the number to fit the available memory (here, 2**29 does the trick). Regards Antoine.