Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106576
| From | "Martin A. Brown" <martin@linux-ip.net> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Set type for datetime intervals |
| Date | 2016-04-06 06:29 -0700 |
| Message-ID | <mailman.132.1459949392.32530.python-list@python.org> (permalink) |
| References | <56FE0625.5030901@shopzeus.com> <alpine.LSU.2.11.1604040843440.18407@znpeba.jbaqresebt.arg> <5704A9BD.6070503@shopzeus.com> <alpine.LSU.2.11.1604060628440.18407@znpeba.jbaqresebt.arg> |
>> Sorry to be late to the party--I applaud that you have already >> crafted something to attack your problem. When you first posted, >> there was a library that was tickling my memory, but I could not >> remember its (simple) name. It occurred to me this morning, after >> you posted your new library: >> >> https://pypi.python.org/pypi/intervaltree >> >> This handles overlapping ranges nicely and provides some tools for >> managing them. Before posting this, I checked that it works with >> datetime types, and, unsurprisingly, it does. > >Thank you! It is so much better than the one I have created. >Possibly I'll delete my own module from pypi. :-) I'm glad to have been able to help, László. And, even if you don't delete your new module, you have certainly stimulated quite a discussion on the mailing list. Best regards and have a good day! -Martin -- Martin A. Brown http://linux-ip.net/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Set type for datetime intervals "Martin A. Brown" <martin@linux-ip.net> - 2016-04-06 06:29 -0700
csiph-web