Re: Python GUI toolkit

2008-02-03 Thread Thomas Pani
eption/ Cheers, thomas pani -- http://mail.python.org/mailman/listinfo/python-list

Re: How to identify which numbers in a list are within each others' range

2008-02-01 Thread Thomas Pani
Arnaud Delobelle wrote: > > This is definitely the best way: > > from itertools import chain > > def overlaps(lst): > bounds = chain(*(((x[1],i), (x[2], i)) for i,x in enumerate(lst))) > inside = {} > for x, i in sorted(bounds): > if inside.pop(i, None) is None: >

Re: dl module

2008-01-31 Thread Thomas Pani
There's a Debian bug for python2.2 at [1]. You can't use dl on a 64bit machine anyway, because sizeof(int) != sizeof(long). Cheers Thomas Pani [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=141681 Nicola Jean wrote: > Hi everyone, > I'm having a problem compiling Pyt