overflowerror!!

ashtonn@gmail.com doodle4 at gmail.com
Thu May 26 17:31:22 EDT 2005


Hello,
I am trying to fill in a dword value into an array and i get an
overflowerror

Here's what iam trying to do.

from array import *
data = array('B', '\0' * 256)

val = 0xFFFFFFFF

for i in range(256):
    data[i] = val

print data

How do i fill in the val 256 times into the array?

-Ashton




More information about the Python-list mailing list