title: Replace single quote with double quote in a string python
body: <p>I have a string like this: </p>
  
  <pre><code>char = 'TEST'
  </code></pre>
  
  <p>I am trying to end up with this result: </p>
  
  <pre><code>char = "'TEST'"
  </code></pre>
  
  <p>It is important that the double quotes are around the single quotes, and not the other way around.
  I am using a Python connector to snowflake, and the latter is the only way I can run a query with the <code>format</code> method. </p>
  
  <p>I have tried using <code>replace</code>, but cannot figure it out.</p>