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

    Status: Open => Answered

RaiMan proposed the following answer:
import os
import shutil
tgtdir = "path-to-your-target-image-folder"
srcdir = getBundlePath()

img = "some-captured-image.png"

shutil.copy(os.path.join(srcdir, img), tgtdir) # same name

or

shutil.copy(os.path.join(srcdir, img), os.path.join(tgtdir, "new-
name.png") # new name

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to