[Tutor] string delimiters

Alan Gauld alan.gauld at btinternet.com
Thu Jun 4 01:57:01 CEST 2015


On 03/06/15 22:16, Alex Kleider wrote:
> On 2015-06-03 12:53, Alan Gauld wrote:
> ...
>> If this is really about parsing dates and times have
>> you looked at the datetime module and its parsing/formatting
>> functions (ie strptime/strftime)?
>
> I asssume strftime gets its name from 'string from time.'
> What about strptime? How did that get its name?

f = format - for creating date/time strings
p = parse - for extracting date/time fierlds from a string

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list