"Bernard A." wrote:

> i'm looking for a way to have all possible length fixed n-uples from a
> list, i think generators can help, but was not able to do it myself,
> maybe some one could point me out to an idea to do it ?

did you try googling for "python permutations" ?

here's the first hit:

    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/190465

</F> 



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

Reply via email to