title: str.replace function with parentheses
body: <p>I don't know how to use the "replace" python string function to remove brackets.</p>
  
  <p>i assume i'm doing something wrong here - i have this code:</p>
  
  <pre><code>line = line.replace('\(','A')
  </code></pre>
  
  <p>which, when faced with a string that has a <code>(</code> in it doesn't do anything. I've also tried</p>
  
  <pre><code>line = line.replace('\\(','A')
  </code></pre>
  
  <p>but no dice there either.</p>
  
  <p>I know that the function works - (this is for converting sqlite data dump to mysql and seriously why hasn't someone made a $10 app to do this? I would have bought it by now.) - because i can do</p>
  
  <pre><code>line = line.replace('CREATE','A')
  </code></pre>
  
  <p>and i get all the create statements replaced by the letter A...</p>
  
  <p>What am i missing here?</p>