i come back to python; just some questions
Emile van Sebille
emile at fenx.com
Sun Jul 14 12:23:30 EDT 2002
More information about the Python-list mailing list
Sun Jul 14 12:23:30 EDT 2002
- Previous message (by thread): i come back to python; just some questions
- Next message (by thread): i come back to python; just some questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ppcdev > i was working on an old pentium II and wanted to send a very long > string in the USER parameter but it made my computer bug.. is it > normal??? > > str='a'; r=range(1024); > for x in r[:]: > str=str+str > I can't imagine a computer it wouldn't be normal on. ;-) This will create a string of length 2**1024, a result that starts 1797... and continues for another ~296 numbers. I imagine what you probably want is a string of 1024 characters? str = 'a'*1024 HTH, -- Emile van Sebille emile at fenx.com ---------
- Previous message (by thread): i come back to python; just some questions
- Next message (by thread): i come back to python; just some questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list