sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35310
[Question #272770]: Write () function not working
New question #272770 on Sikuli:
https://answers.launchpad.net/sikuli/+question/272770
My code work in sikuli 1.0rc3. Now I use the new version of Sikuli (v1.1.0), but it doesn't work.
Need help!
#my code
def DeviceInfo():
try:
recordLog=open(logPath,'a')
except IOError:
if not os.path.isdir(outputDirectory):
os.makedirs(outputDirectory)
recordLog=open(logPath,'a')
recordLog.write("# ----------Sikuli Log---------- \n")
recordLog.write("# ")
recordLog.write("# A3:"+webSite+"\n")
recordLog.write("# A4:"+ dUsername +","+dPassword'+"\n")
recordLog.write("# A5:"+ dbrowser+"\n")
recordLog.write("# A6:"+ dbrowserType+"\n")
recordLog.write("# ")
recordLog.write("# ----------Sikuli Log---------- \n")
recordLog.write("# \n")
recordLog.close()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.