← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #230996]: IDE: config file loaded in sub script is not reloaded at rerun

 

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

    Status: Answered => Open

vocxpo is still having a problem:
Thanks for the explanation. However, I'm afraid my requriements can't be
met.

1.  Just as I have mentioned, I use a common.py to do the param parse.
If I use getBundlePath() for the path of 'common.cfg' in common.py, when
I run a some_case.py which imports common, Sikuli reports 'can't find
common.cfg'. I must put common.cfg in some_case.sikuli dir so as it can
be found. This is not what I want.

2. My common.py contains indent 0 codes. I'd like them to be executed
once common is imported.

It seems I must try other solutions. Maybe try class?

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