Question #258479 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258479
Status: Open => Answered
RaiMan proposed the following answer:
no idea, you either have to ask the with statement or the configparser
;-)
I do not see the need for the with nor for the intermediates:
config.readfp(open(os.path.join(getBundlePath(),'config.ini')))
myAppPath = config.get('AppPath','Path')
I generally distrust the with statement ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which 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