On Wed, 21 Dec 2005, Kent Johnson wrote: > Take a look at random.choice() or possibly random.shuffle() or > random.sample(). And remember that a string is a kind of sequence. Good call; I should have read all the replies first. >>> random.choice(string.uppercase) is much clearer than my suggestion.