sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12138
Re: [Question #204153]: How to provide user input to sikuli script from a file
Question #204153 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204153
pyCoder proposed the following answer:
http://www.jython.org/docs/library/configparser.html
#inside application
config = ConfigParser.ConfigParser()
config.read('config.ini')
username = config.get('settings','username')
ipAddress = config.get('settings','ipAddress')
inside 'config.ini'
[settings]
username = Bob Marley
ipAddress = 190.943.1
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.