title: Python: How to convert datetime format?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4855406/how-to-convert-a-time-to-a-string">How to convert a time to a string</a>  </p>
  </blockquote>
  
  
  
  <p>I have <code>a</code> variable as shown in the below code.</p>
  
  <pre><code>a = "2011-06-09"
  </code></pre>
  
  <p>Using python, how to convert it to the following format?</p>
  
  <pre><code>"Jun 09,2011"
  </code></pre>