← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #209710]: how to open a folder

 

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

RaiMan proposed the following answer:
*** rewrite of hidden comment #5, which contains errors

This can be done with Python functions:

import os
import shutil
inFile = os.path.join(some_path, some_filename)
outFile = os.path.join(some_other_path, some_filename)
shutil.copy(inFile, outFile)

the ..._path variables have to be set to an absolute path and the path's
must exist.

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