I've some problem with "decode" method in python 3.3.4. This is my code:
for lines in open('file','r'):
decodedLine = lines.decode('ISO-8859-1')
line = decodedLine.split('\t')
But I can't decode the line for this problem:
AttributeError: 'str' object has no attribute 'decode'
Do you have any ideas? Thanks