A
ashtonn
Hello,
buffer_info is giving the following error:
AttributeError: 'str' object has not attribute 'buffer_info'
Here's the code snippet...
dest = 'FFFFFFFFFFFF'
src = '0123FFFFFFFF'
data = array('B', '\0' * 256)
data1 = ''.join([dest, src]
print data1print data.buffer_info()[0]... works
print data1.buffer_info()[0]....error
This output is a string and hence i believe i get the above error. Any
ideas?
Thanks,
-Ashton
buffer_info is giving the following error:
AttributeError: 'str' object has not attribute 'buffer_info'
Here's the code snippet...
dest = 'FFFFFFFFFFFF'
src = '0123FFFFFFFF'
data = array('B', '\0' * 256)
data1 = ''.join([dest, src]
print data1print data.buffer_info()[0]... works
print data1.buffer_info()[0]....error
This output is a string and hence i believe i get the above error. Any
ideas?
Thanks,
-Ashton