title: How do I remove spaced before and after commas in a csv file using python?
body: <p>Currently one row of my csv file looks like this :</p>
  
  <blockquote>
    <p>314523, 165538,    76255, 335416, 416827 1250536:1 1744638:1 298526:1 1568238:1 </p>
  </blockquote>
  
  <p>I need it to look like this :</p>
  
  <blockquote>
    <p>314523,165538,76255,335416,416827 1250536:1 1744638:1 298526:1 1568238:1 </p>
  </blockquote>
  
  <p>I only want to <strong>remove the spaces after or before commas</strong> and leave the other blank spaces as it is.</p>
  
  <p>How can I do this in python?</p>
  
  <p>Note : I am a beginner in python</p>