← Back to team overview

sikuli-driver team mailing list archive

[Question #233894]: how to save a object to a file

 

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

find("image")

I find a picture in web page, then i want to save this pic to a file, but it fail

p=find("Vefifjf.png")
f=file("E:\\WorkPlc\\a.jpg","wb")
f.write(p)
f.close()


TypeError: argument 1 must be string or buffer, not org.sikuli.script.Match


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