title: remove single quote from text with python
body: <p>I want to remove all of the single quotes by python in a text file.
  I did this code :</p>
  
  <pre><code>for line in open('check.txt',"r"):
      line=line.replace("'","")
  f.close()
  </code></pre>
  
  <p>but it didn't work for me.
  Please suggest me a correct way.</p>