On Wed, 10 Feb 2010 15:23:42 -0800, Peng Yu wrote:

> I'm wondering there is already a function in python library that can
> merge intervals. For example, if I have the following intervals ('[' and
> ']' means closed interval as in
> http://en.wikipedia.org/wiki/Interval_(mathematics)
#Excluding_the_endpoints)

Not in the standard library. There may be third-party libraries that do 
it. Did you google "python interval"?




-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to