sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27756
Re: [Question #253449]: Can any calculation be done using sikuli and coparision of two numeric values?
Question #253449 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/253449
Status: Answered => Open
Subhasree Mohapatra is still having a problem:
Hi,
I went thru the question and answer but the error is still there. PFA my code
dir_xl ="C:\\Program Files\\SIKULI\\Lib\\xlrd"
import xlrd
r= find("1408880772792.png").below(100).find("1408811186449.png").left(100).click()
a=type("a" , Key.CTRL)
b=type("c", Key.CTRL)
p=Env.getClipboard()
print p
f=int(p)
print b
if f == 34:
print ("Value is same")
else:
print("not same")
book=xlrd.open_workbook("C:\\Users\\Subhasree\\Desktop\\Values.xls")
the error is still coming
[error] script [ Documents ] stopped with error in line 14
[error] AttributeError ( 'module' object has no attribute 'open_workbook' )
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.