Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54895 > unrolled thread

Hostrange expansion

Started bySam Giraffe <sam@giraffetech.biz>
First post2013-09-27 08:32 -0700
Last post2013-09-27 08:32 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Hostrange expansion Sam Giraffe <sam@giraffetech.biz> - 2013-09-27 08:32 -0700

#54895 — Hostrange expansion

FromSam Giraffe <sam@giraffetech.biz>
Date2013-09-27 08:32 -0700
SubjectHostrange 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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web