>>> import random >>> x = [1, 2, 3, 4, 5, 6] >>> random.Random(4).shuffle(x) >>> x [4, 6, 5, 1, 3, 2] >>> x = [1, 2, 3, 4, 5, 6] >>> random.Random(4).shuffle(x) >>> x [4, 6, 5, 1, 3, 2]