← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #211380]: Not able to close the text file when array is used.

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
my_file is only known in the local context of the handler.

So you should simply define/open it in the main script before the first
observe, then it is known (global) in the def.

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