strings with moreover of one million of characters

Diez B. Roggisch nospam-deets at web.de
Wed Feb 18 06:41:46 EST 2004


> 
> Is possible use strings with moreover of one million of characters?

>>> s = "A" * 2000000
>>> print len(s)
2000000

Works..
 
> I try using int() but the program keep blocked.

What has int() with string to do?

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list