← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #217558]: I can agenerate random numbers, need to type them

 

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

    Status: Answered => Open

Colby Black is still having a problem:
Rai

I typed it as a test

click("HndowZIh.png")
import random
num = 
random.randrange(100000000, 100000000000000)
type(str(num))

and got this error

[error] Stopped
[error] An error occurs at line 3
[error] Error message: SyntaxError: ("no viable alternative at input '='", ('C:\\Users\\user\\AppData\\Local\\Temp\\sikuli-tmp6939699859182269962.py', 3, 4, 'num = \n'))

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