Alexandre Passos wrote: >How can I make a random number? import random listofn = range(1,1000) #a list containing integers from 1 to 999 a = random.choice(listofn) #choice a random element from a list print a I don't know if there's a better way for doing it but this works for me... Hope this helps, JoanCarles :::!!!::: joanca@typerware.com http://www.typerware.com