In Python, it is quite simple to produce all permutations of a list using the itertools module. I have a situation where the list I'm using only has two characters (i.e. '1122'). I want to generate all unique permutations.In Python, it is quite simple to produce all pe