← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #219716]: How to write: "type random number from 5000000000 to 6999999999

 

Question #219716 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/219716

    Status: Open => Answered

RaiMan proposed the following answer:
import random
type(str(random.randint(5000000000, 6999999999)))

see: http://docs.python.org/2/library/random.html#module-random

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.