On 03/05/17 00:28, Cameron Simpson wrote:

>> And so forth? I assume you mean
>>
>> MMDDYYYY.png format?
>>
>> You should read about the strftime function in the time
> 
> Further to this, I would also advocate that you consider writing the 
> timestamp 
> from largest unit to smallest unit, like an ISO8601 timestamp, which 
> typically 
> looks like:
> 
>   YYYYMMDD.png

Yes, I absolutely second this advice and should have included it.
ISO dates make programming life so much easier!


-- 
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


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to