← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #686822]: creating a timer in sikuli, need update from old code.

 

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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
"Settings.timer =time.time()"

time.time() Returns a numeric value (seconds since January 1, 1970, 00:00:00 UTC ).
Consequently your expression
Settings.timer+ str(1) + "=time.time()+" + str(elapse)
does not make any sense, because it tries to concatenate a numeric value and text values, which is forbidden.

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