← Back to team overview

sikuli-driver team mailing list archive

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

 

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

RaiMan proposed the following answer:
Sorry, again:

--3. you might copy the picture to some other place using:
import shutil # put it at the beginning of the script
import os # put it at the beginning of the script

img = "Vefifjf.png"
p=find(img)
shutil.copy(os.path.join(getBundlePath(), img), "E:\\WorkPlc\\a.png") # switching to .jpg not possible this way

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