Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59097
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <skip.montanaro@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.079 |
| X-Spam-Evidence | '*H*': 0.85; '*S*': 0.01; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'gmail.': 0.16; 'ignore': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'import': 0.22; 'rules': 0.22; 'skip': 0.24; 'wednesday': 0.24; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'third': 0.33; 'skip:d 20': 0.34; 'received:google.com': 0.35; 'dates': 0.36; 'subject:?': 0.36; 'nov': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'series': 0.66; 'subject:friends': 0.93; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=tXBQp3XoA7l2pFhjgWPy51pM8gwRV0qCYP0IKRc5qag=; b=sBSV+f01U0KKHISPkrlAMa8vFrLHHIPB35X6D7wDkli+oe3RWpH9UECTf2rx0Y8XRN LHZn1mbCAHgB77R6563sY+hX80n0cfGiwqCa5hb5rFn9rXs3INYfewsufUFBVmbEzY3Z fgg9rLaYFPUfg1rVitXFlN4OXvHwh6HgQwNBqzrr04Vo3yQoB7esvNdae4lFPNWcJMaG YyHceFNjy3MiSrD6yHIenGitBzqQT1ftsk7ZZyfvKr29OYWeb4dO1hbD+ZTt4kMTSpvj deWVWcmfq0mkpU5JUbD7SW0i3aEL8e7xA/3ASSc+P/iqsWtzb9YgIy9u9C2aeIt9Kr5H gCvg== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.8.102 with SMTP id q6mr13564928iga.57.1384202337941; Mon, 11 Nov 2013 12:38:57 -0800 (PST) |
| Sender | skip.montanaro@gmail.com |
| In-Reply-To | <CANc-5UwDuUb809z=tkHvgV1JinwasoLWGJ9dUDuuZmRY5RFw_w@mail.gmail.com> |
| References | <CANc-5UwDuUb809z=tkHvgV1JinwasoLWGJ9dUDuuZmRY5RFw_w@mail.gmail.com> |
| Date | Mon, 11 Nov 2013 14:38:57 -0600 |
| X-Google-Sender-Auth | HehsNICoPvtb1GEtrXXUUKZPuNY |
| Subject | Re: dateutil.relativedelta.WE and friends? |
| From | Skip Montanaro <skip@pobox.com> |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2396.1384202340.18130.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1384202340 news.xs4all.nl 15887 [2001:888:2000:d::a6]:40051 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:59097 |
Show key headers only | View raw
damn gmail. Please ignore the drivel below (and this top post)... Skip On Mon, Nov 11, 2013 at 2:33 PM, Skip Montanaro <skip@pobox.com> wrote: > I found a rather inscrutable use of dateutil recurrence rules in > StackOverflow which generates a series of dates corresponding to the > third Wednesday of the month: > > import dateutil.rrule as dr > import dateutil.relativedelta as drel > > dt = datetime.datetime(2012, 1, 1, 0, 0) > rule = dr.rrule(dr.MONTHLY, byweekday=drel.WE(3), dtstart=dt, count=12)
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: dateutil.relativedelta.WE and friends? Skip Montanaro <skip@pobox.com> - 2013-11-11 14:38 -0600
csiph-web