Here is my code,
for line in open(\'u.item\'): #read each line
whenever I run this code it gives the following error:
Also worked for me, ISO 8859-1 is going to save a lot, hahaha, mainly if using Speech Recognition API's
Example:
file = open('../Resources/' + filename, 'r', encoding="ISO-8859-1");