title: Date Ordinal Output?
body: <p>I'm wondering if there is a quick and easy way to output ordinals given a number in python.</p>
  
  <p>For example, given the number <code>1</code>, I'd like to output <code>"1st"</code>, the number <code>2</code>, <code>"2nd"</code>, et cetera, et cetera.</p>
  
  <p>This is for working with dates in a breadcrumb trail</p>
  
  <pre><code>Home &gt;  Venues &gt;  Bar Academy &gt;  2009 &gt;  April &gt;  01 
  </code></pre>
  
  <p>is what is currently shown</p>
  
  <p>I'd like to have something along the lines of</p>
  
  <pre><code>Home &gt;  Venues &gt;  Bar Academy &gt;  2009 &gt;  April &gt;  1st
  </code></pre>