title: How to remove single quotes only from ends of Dictionary in Python
body: <p>I'm trying to take a dictionary:</p>
  <pre><code>{'company': 'BOOK TA .K (TAMAN DAYA) SDN BHD', 'date': '25/12/2018', 'address': 'NO.53 55,57 &amp; 59, JALAN SAGU 18, TAMAN DAYA, 81100 JOHOR BAHRU, JOHOR.', 'total': '9.00'}
  </code></pre>
  <p>And try to remove quotes surrounding each key and value as follows (desired output):</p>
  <pre><code>{company:BOOK TA .K (TAMAN DAYA) SDN BHD, date:25/12/2018, address:NO.53 55,57 &amp; 59, JALAN SAGU 18, TAMAN DAYA, 81100 JOHOR BAHRU, JOHOR., total:9.00}
  </code></pre>
  <p>The problem is that no matter which code I try (regex, strip, rstrip...), I end up snipping those single quotes that come in the middle (this is part of a large dataset and there are many cases in which the company and address fields have quotation marks as part of them ) I <strong>cannot lose these embedded single quotes</strong>, I must only get rid of those at the end. eg.</p>
  <pre><code>'Wendy's Stall' -&gt; Wendy's Stall
  </code></pre>
  <p>is what I need,</p>
  <p><strong>NOT</strong></p>
  <pre><code>'Wendy's Stall' -&gt; Wendys Stall
  </code></pre>
  <p>I thought initially that this question is similar to what I need:
  <a href="https://stackoverflow.com/questions/26843353/removing-single-quotes-from-a-dictionary">Removing single quotes from a dictionary</a>
  , but the problem is that they simply took integer representations of the value and got away with it as all values were numbers and not strings.
  Thanks a lot for your help!</p>