← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #688984]: IDE: imported helper.py files are not automatically reimported if changed

 

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

SeltiX posted a new comment:
about your solution, I try but because I have a settings folder with txt
files for customization :

├── myapp.sikuli/
│ ├── myapp.py

  |── helpers.sikuli/
│ ├── helpers.py

 |── images.sikuli/
│ ├── images.py
│ ├── all my image files....

 |── settings/
│ ├── default.txt
│ ├── other config files.ext....

I got my warning saying it does not find the configs.txt files, those
files are read from helpers.py with this path :

path_current = os.path.dirname(os.path.realpath(__file__))
path_settings = path_current + "\\..\\settings"

you said when running the jar everithing is exported to a temp-folder, I
supose I have to put my settings folder there or is there a better way
to have the settings folder next to the jar file? I will continue to
work around your solution and disable my settings importer to compare to
my previous tests

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.