How to increment date by week?
Joshua Landau
joshua.landau.ws at gmail.com
Tue Jun 4 17:44:52 EDT 2013
On 4 June 2013 22:31, PieGuy <r90230 at gmail.com> 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.
>
> And to save that result to a file.
> Moving from 2.7 to 3.3
> TIA
What have you tried? What are you stuck on? We're not here to do your
work for you.
See http://docs.python.org/3/library/datetime.html for where to get started.
More information about the Python-list
mailing list