Peter> You didn't name the above script random.py, did you :-) Bill> Bingo :o) Thanks! Bad habit, huh? Very bad. Done often enough you will wind up with lots of bite marks on your butt. Skip