Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54895
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <sam@giraffetech.biz> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.191 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.63; '*S*': 0.01; 'i.e.,': 0.16; 'library': 0.18; 'accepted.': 0.22; 'expanded': 0.24; 'expanding': 0.29; 'message-id:@mail.gmail.com': 0.30; 'me?': 0.32; 'received:209.85': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'in:': 0.36; 'thanks': 0.36; 'hi,': 0.36; 'should': 0.36; 'list': 0.37; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'range': 0.61; 'containing': 0.69; 'url:domain': 0.91 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=VGQQYziqhTqMQXttLgHEgTR1svf2wwQdj0gTZC7FfsE=; b=JjcMyiHK/94sPO/KRPVaeQPlurATTwwePjRkNsc27an83fVq3MV3Y1Zw1VbJCOOvLc SNcjKREyJyTTTWSMA9wmRL3PZbydVwHNQKbH9NMHlQleE9yn8gRz6GwiXNLQDprdlbG1 p9vAWPup+NOlSh54H1OMvCdjDyoW7FStAGK7vjY9ateZbIBj4sRLjw3jibqJqCRk8PgE aRGBxZbRT5gxlzrrdqimBlCReBkHiSPqJZqEO70Vrq8R8sioTI6lllrTS7hkDKaK0Io2 WsRkEOORKLlrOn9J1eIkyuUm6bwWq0oLGDGT1JX+bNbkKWmVGsV26JzMstBLPOKDLwBD P+3Q== |
| X-Gm-Message-State | ALoCoQmgBWJ7YyXNFP42ohWgtBkba1KuTEhMjPqyKhJySjUzsGm665LRGF5truEanBSIv34HyBJT |
| MIME-Version | 1.0 |
| X-Received | by 10.182.113.195 with SMTP id ja3mr6400367obb.46.1380295946437; Fri, 27 Sep 2013 08:32:26 -0700 (PDT) |
| X-Originating-IP | [216.218.223.243] |
| Date | Fri, 27 Sep 2013 08:32:26 -0700 |
| Subject | Hostrange expansion |
| From | Sam Giraffe <sam@giraffetech.biz> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=089e013d0db09299ea04e75f31a5 |
| X-Mailman-Approved-At | Fri, 27 Sep 2013 18:38:51 +0200 |
| 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.384.1380299931.18130.python-list@python.org> (permalink) |
| Lines | 27 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1380299931 news.xs4all.nl 15881 [2001:888:2000:d::a6]:43404 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:54895 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi, I need some help in expanding a hostrange as in: h[1-100].domain.com should get expanded into a list containing h1.domain.com to h100.domain.com. Is there a library that can do this for me? I also need to valid the range before I expand it, i.e., h[1*100].domain.com should not be accept, or other formats should not be accepted. Thanks
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Hostrange expansion Sam Giraffe <sam@giraffetech.biz> - 2013-09-27 08:32 -0700
csiph-web