title: Remove fullstop, commas, quotation from list in Python
body: <p>I have a python code for word frequency count from a text file. The problem with the program is that it takes fullstop into account hence altering the count. For counting word i've used a sorted list of words. I tried to remove the fullstop using</p>
  
  <pre><code> words = open(f, 'r').read().lower().split()  
   uniqueword = sorted(set(words))
   uniqueword = uniqueword.replace(".","") 
  </code></pre>
  
  <p>but i get error as </p>
  
  <pre><code>AttributeError: 'list' object has no attribute 'replace'
  </code></pre>
  
  <p>Any help would be appreciated :)</p>