Combining sets/dictionaries

alex23 wuwei23 at gmail.com
Tue Sep 22 22:44:39 EDT 2009


Alfons Nonell-Canals <alfons.non... at upf.edu> 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