Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54895
| Date | 2013-09-27 08:32 -0700 |
|---|---|
| Subject | Hostrange expansion |
| From | Sam Giraffe <sam@giraffetech.biz> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.384.1380299931.18130.python-list@python.org> (permalink) |
[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