← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #209132]: var across module

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- This is exactly what I don't want to do
Since I talked about more than one option:
What exactly do you not want to do?

On the other hand:
import works as it does. It is made for reusable code like classes and functions and not for one-time code (besides some initialization) like you want to do.
One-time code can be executed (even multiple times with exec file() )

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