Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54895 > unrolled thread
| Started by | Sam Giraffe <sam@giraffetech.biz> |
|---|---|
| First post | 2013-09-27 08:32 -0700 |
| Last post | 2013-09-27 08:32 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Hostrange expansion Sam Giraffe <sam@giraffetech.biz> - 2013-09-27 08:32 -0700
| From | Sam Giraffe <sam@giraffetech.biz> |
|---|---|
| Date | 2013-09-27 08:32 -0700 |
| Subject | Hostrange expansion |
| Message-ID | <mailman.384.1380299931.18130.python-list@python.org> |
[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 top | Article view | comp.lang.python
csiph-web