title: Localized month name in Python
body: <p>I'd like to have localized months name automatically given by Python.</p>
  
  <p>I use this piece of code : <code>datetime.datetime.strptime(j, "%m").strftime("%B")</code> where j is the month number.</p>
  
  <p>My problem is that it keeps giving me "January" while I'm expecting "Janvier" (french locale).</p>
  
  <p>I tried to play a little with locale and the only way I found to make it work is to call <code>locale.set_locale(locale.LC_ALL, "")</code> at the begining of the script.</p>
  
  <p>Is it the good way to go ? Or is there any problem and nicer solutions ?</p>
  
  <p>Thanks</p>