Here is my code,
for line in open(\'u.item\'): #read each line
whenever I run this code it gives the following error:
This works:
open('filename', encoding='latin-1')
or:
open('filename',encoding="ISO-8859-1")