fileMain = open("dictionary_15k.txt", "r")
for line1 in fileMain:
dictWords.append(unicode(line1.strip(), "utf-8"))
When compiled it shows
NameError: name 'unicode' is not defined
fileMain = open("dictionary_15k.txt", "r")
for line1 in fileMain:
dictWords.append(unicode(line1.strip(), "utf-8"))
When compiled it shows
NameError: name 'unicode' is not defined