I've some problem with decode
method in python 3.3.4. This is my code:
for line in open('file','r'):
decodedLine = line.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