def returnname(list): return list[random.randint(0,(len(list)-1))] # returns a random selection from a list It seems to work, is it correct and efficient? doyen at mediaone.net