← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #675153]: Sikuli farming (gaming) code random and undetectable

 

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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
You have to load the "random" routines by adding the line
import random
at the beginning of your script.

You probably have to use something like
wait(random.uniform(3, 6))
for waiting some unpredictable time between 3 and 6 seconds.

Please see https://docs.python.org/2/library/random.html for details
about the available functions.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.