← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #254991]: ConfigParser Error in Sikuli

 

Question #254991 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254991

bgbig posted a new comment:
Thanks for the quick reply RaiMan.


Reading data through testdata.txt file works fine with the statement 

data.read(r'C:\Automation\testdata\testdata.txt')

Is there any way I can use a path variable like mentioned above.

import os
path = os.environ['Sikuli_Scripts']

something like ...

data.read(path+r'testdata\\testdata.txt')

Is it even viable to use ?

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