[HowTo] use configuration/parameter/option files
Created by RaiMan
- Keywords:
In cases, where it is not possible or does not make sense to give parameters and options to a Sikuli script via command line, there is a really convenient feature in Jython: ConfigParser
usage from https:/
http://
#inside script
import ConfigParser
config = ConfigParser.
config.
username = config.
ipAddress = config.
# setup your 'config.ini'
[settings]
username = Bob Marley
ipAddress = 190.943.1
You might use any filenames you want