How to increment date by week?

PieGuy r90230 at gmail.com
Wed Jun 5 12:39:34 EDT 2013


On Tuesday, June 4, 2013 2:31:07 PM UTC-7, PieGuy wrote:
> Starting on any day/date, I would like to create a one year list, by week (start date could be any day of week).  Having a numerical week index in front of date, ie 1-52, would be a bonus.  
> 
>    ie, 1.  6/4/2013
> 
>        2.  6/11/2013
> 
>        3.  6/18/2013....etc to # 52.
> 
> Thank you Python Community!  I am almost 75, moving from 2.7 to 3.n, just started with Linux Ubuntu, and using WING IDE but my 3 Python books do not offer the clarity of this group.  Again, thanks to all who responded.  
> 
>    And to save that result to a file.
> 
>    Moving from 2.7 to 3.3
> 
> TIA




More information about the Python-list mailing list