Remove leading 0's for str(date)
<p>If I have a datetime object, how would I get the date as a string in the following format:</p>

<pre><code>1/27/1982  # it cannot be 01/27/1982 as there can't be leading 0's
</code></pre>

<p>The current way I'm doing it is doing a .replace for all the digits (01, 02, 03, etc...) but this seems very inefficient and cumbersome. What would be a better way to accomplish this?</p>

<p>Thank you.</p>
