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

W.R.T the discussion on https://answers.launchpad.net/sikuli/+question/204153,
I tried to read input from a file. Getting "ConfigParser.NoSectionError" . 
Please help

#my code
import ConfigParser
config = ConfigParser.ConfigParser()
config.read('config.ini')
my_username = config.get('user1','username')
my_address = config.get('user1','address')

#inside config.ini
[user1]
username = ABC
address = 123

[user2]
username = XYZ
address = 345

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to