title: How to remove apostrophe marks from a string in Python
body: <p>I'd like to remove all the '' from each symbol using Python.</p>
  
  <p>'MMM’, ‘AXP’, ‘AAPL’, ‘BA’, ‘CAT’, ‘CVX’, ‘CSCO’, ‘KO’, ‘DD’, ‘XOM’, ‘GE’, ‘GS’, ‘HD’, ‘IBM’, ‘INTC’, ‘JNJ’, ‘JPM’, ‘MCD’, ‘MRK’, ‘MSFT’, ‘NKE’, ‘PFE’, ‘PG’, ‘TRV’, ‘UNH’, ‘UTX’, ‘VZ’, ‘V’, ‘WMT’, ‘DIS’</p>
  
  <p>so I end up with: MMM, AXP, AAPL, BA, and so on...</p>
  
  <p>I tried </p>
  
  <pre><code>str = 
  'MMM’, ‘AXP’, ‘AAPL’, ‘BA’, ‘CAT’, ‘CVX’, ‘CSCO’, ‘KO’, ‘DD’, ‘XOM’, ‘GE’, ‘GS’, ‘HD’, ‘IBM’, ‘INTC’, ‘JNJ’, ‘JPM’, ‘MCD’, ‘MRK’, ‘MSFT’, ‘NKE’, ‘PFE’, ‘PG’, ‘TRV’, ‘UNH’, ‘UTX’, ‘VZ’, ‘V’, ‘WMT’, ‘DIS’
  </code></pre>
  
  <p>and then:</p>
  
  <pre><code>str2 = str.replace("''","")
  </code></pre>
  
  <p>but to no avail. any ideas?</p>