#!/usr/bin/python2.5
def permute(li):
    """Generate all permutations of a sequence
...

Python Computing permutations with...

by Leif Ryge, October 22, 2008 04:16, 6 refactorings, tagged with recursion, generator, permutations, permutate

I suspect there is a better...

264124475f095b65634c53da3380b88d Talk