On Jan 24, 10:56 am, Hrvoje Niksic wrote:
> "Mark.Petrovic" writes:
> > Might someone comment on why %f is not accepted as a valid field
> > directive in:
>
> from datetime import datetime
> created="2009-01-24 16:04:55.882788"
> dt = datetime.strptime(created,"%Y-%m-%d %H:%M:%S.%f
"Mark.Petrovic" writes:
> Might someone comment on why %f is not accepted as a valid field
> directive in:
>
from datetime import datetime
created="2009-01-24 16:04:55.882788"
dt = datetime.strptime(created,"%Y-%m-%d %H:%M:%S.%f")
> Traceback (most recent call last):
> File "", l
Mark.Petrovic wrote:
> Good day.
>
> Might someone comment on why %f is not accepted as a valid field
> directive in:
>
from datetime import datetime
created="2009-01-24 16:04:55.882788"
dt = datetime.strptime(created,"%Y-%m-%d %H:%M:%S.%f")
> Traceback (most recent call last):
>
Good day.
Might someone comment on why %f is not accepted as a valid field
directive in:
>>> from datetime import datetime
>>> created="2009-01-24 16:04:55.882788"
>>> dt = datetime.strptime(created,"%Y-%m-%d %H:%M:%S.%f")
Traceback (most recent call last):
File "", line 1, in
File "/System/