How to generate all permutations of a string?

Anton Vredegoor anton.vredegoor at gmail.com
Thu Jun 22 09:58:04 EDT 2006


Girish Sahani wrote:

>   I want to generate all permutations of a string. I've managed to
> generate all cyclic permutations. Please help :)

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

anton



More information about the Python-list mailing list