Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46972
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joshua.landau.ws@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.163 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.68; '*S*': 0.01; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; '2.7': 0.14; 'bonus.': 0.16; 'index': 0.16; 'wrote:': 0.18; 'numerical': 0.19; 'subject:week': 0.19; 'cc:addr:python.org': 0.22; 'file.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'received:209.85.217': 0.29; 'message-id:@mail.gmail.com': 0.30; 'front': 0.32; "we're": 0.32; 'url:python': 0.33; 'could': 0.34; 'received:209.85': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'starting': 0.37; 'url:library': 0.38; 'list,': 0.38; 'moving': 0.39; 'url:3': 0.61; 'you.': 0.62; 'save': 0.62; 'skip:6 10': 0.63; 'to:addr:gmail.com': 0.65; 'here': 0.66; 'date,': 0.68; 'started.': 0.68; 'day': 0.76; 'on?': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gulWa1ARZnv84Okmo+NeGzC+9+p6odvwdlpf4np5P2Q=; b=RCtj6Fv12cNyTaSovgrOOaOIBju3Hz6aM14sZmDIU+ZtO8ND8shjbMEqPUyQw5EPa/ SgpNLef8YDQTAu5m7bo1uu5jVSl9wpOkbH2MpjOLFPmOc2LbjEF5SB+4UYnp8E7FeXFS ddhwSwQcEYqQPgVHADo49JhBq90SQgV3ccAq8Ja7VsitGBVbvv2X6wYlr9nst4NhPz0g J4vU538/lQu5u/32Gk/76n+P2fXlH3gFjdE4Jnf0z3cdznE8dO/pMKdhHBcj3CDoXSJZ g8ib8gBK993iBzWndx0tP50T6b/qr98A98wpfpQjlCrHE/irZPQmLGNw2H7X7vWrQh5l PqXw== |
| X-Received | by 10.112.135.34 with SMTP id pp2mr13895405lbb.18.1370382332765; Tue, 04 Jun 2013 14:45:32 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <b07dac48-1479-42cc-908c-21a3b2e14198@googlegroups.com> |
| References | <b07dac48-1479-42cc-908c-21a3b2e14198@googlegroups.com> |
| From | Joshua Landau <joshua.landau.ws@gmail.com> |
| Date | Tue, 4 Jun 2013 22:44:52 +0100 |
| Subject | Re: How to increment date by week? |
| To | PieGuy <r90230@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | python-list <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2683.1370382334.3114.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1370382334 news.xs4all.nl 15917 [2001:888:2000:d::a6]:56440 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:46972 |
Show key headers only | View raw
On 4 June 2013 22:31, PieGuy <r90230@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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to increment date by week? PieGuy <r90230@gmail.com> - 2013-06-04 14:31 -0700 Re: How to increment date by week? Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-04 22:44 +0100 Re: How to increment date by week? Tim Chase <python.list@tim.thechases.com> - 2013-06-04 16:50 -0500 Re: How to increment date by week? John Gordon <gordon@panix.com> - 2013-06-04 21:48 +0000 Re: How to increment date by week? Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-04 21:47 +0000 RE: How to increment date by week? Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-05 01:52 +0300 Re: How to increment date by week? Skip Montanaro <skip@pobox.com> - 2013-06-04 20:17 -0500 Re: How to increment date by week? steve.ferg.bitbucket@gmail.com - 2013-06-04 20:43 -0700 Re: How to increment date by week? PieGuy <r90230@gmail.com> - 2013-06-05 09:39 -0700
csiph-web