← Back to team overview

sikuli-driver team mailing list archive

[Question #225874]: TypeError: argument 1 must be string or read-only character buffer, not int

 

New question #225874 on Sikuli:
https://answers.launchpad.net/sikuli/+question/225874

How do for association a variable (type("v",KEY_CTRL)) e save in file? 

try:
    dragDrop("Pd-1.png", "al-1.png")
except:
    dragDrop("1365085975403.png","line.png")
type("c",KEY_CTRL)
f = open('msn.txt' ,'r+')
a =(type("v",KEY_CTRL))
print a
f.write(a)
ler = f.read()
f.close()

print ler 



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