Combining sets/dictionaries

alex23 wuwei23 at
Wed Sep 23 04:44:39 CEST 2009

Alfons Nonell-Canals <alfons.non... at> wrote:
> finally I've solved it using a "combinatorics" library which allows to
> do this kind of things.

If you're using a version of Python > 2.6 you might find that
itertools.combinations does what you want without requiring the
additional code.

More information about the Python-list mailing list