Re: datetime.strptime() not padding 0's

2013-04-23 Thread Kyle Shannon
On Tue, Apr 23, 2013 at 3:41 PM, Kyle Shannon wrote: > On Tue, Apr 23, 2013 at 3:14 PM, Rodrick Brown > wrote: >> I thought I read some where that strptime() will pad 0's for day's for some >> reason this isnt working for me and I'm wondering if i'm d

Re: datetime.strptime() not padding 0's

2013-04-23 Thread Kyle Shannon
On Tue, Apr 23, 2013 at 3:14 PM, Rodrick Brown wrote: > I thought I read some where that strptime() will pad 0's for day's for some > reason this isnt working for me and I'm wondering if i'm doing something > wrong. > from datetime import datetime dt = datetime.strptime('Apr 9 2013', '%b