title: Delete ^L character in a log file
body: <p>I want to delete all the characters "\L" that I find when i read the file. I tried to use this function when I read a line:  </p>
  
  <pre><code>def cleanString(self, s):
              if isinstance(s, str):
                      s = unicode(s,"iso-8859-1","replace")
                      s=unicodedata.normalize('NFD', s)
                      return s.encode('ascii', 'ignore')
  </code></pre>
  
  <p>But it doesn't delete this character. Does someone know how to do it?  </p>
  
  <p>I tried using the <code>replace</code> function as well, but it is not better:</p>
  
  <pre><code>s = line.replace("\^L","")
  </code></pre>
  
  <p>Thanks for your answers.</p>