← Back to team overview

sikuli-driver team mailing list archive

[Question #236120]: How can I import variables used by my script from external files?

 

New question #236120 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236120

I need to import variables used by my script for external files (config.any_file_extension). I need this so I can loop my script  to import different config files every loop.

Example:

config_file1="Folder1\\config.*"
config_file2="Folder2\\config.*"
config_file3="Folder3\\config.*"

first loop:
import config_file1
pass 

second loop:
import config_file2
pass

...

n loop:
import config_filen
pass

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