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