Tom Bryan <tbryan at python.net> writes: > def randomSubseq( seq, length ): What would be wrong with return random.shuffle(seq[:])[:length] I don't see the value of shuffling the indices. Regards, Martin