← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #173063]: Is there any import files which we use to create a custom log file like the Tempfile module

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
shutil.move first copies the file to the new destination and then it
tries to delete the source file.

The second step (delete source file) could not be completed in your
case.

This usually happens with insufficient access rights or other facts
(e.g. file opened in other program), that make it impossible to delete.
On Windows, sometimes it is already enough, that the file is
selected/visible in an Explorer window, to get this error.

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