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

    Status: Answered => Open

marc is still having a problem:
oooh. so it was saving to my system32 folder. wow.

so I tried adding a path.

import random
emailNum=random.randint(100,10000) #email random number after fs*
email="fs" + str(emailNum) + "@gmail.com"
with open("C:\PythonScripts\test.sikuli\Log.txt", "a") as myfile:
    myfile.writelines(email)
type(str(email))

now its returning with an error: permission denied

[error] script [ test ] stopped with error in line 3
[error] IOError ( (13, 'Permission denied', 
'C:\\PythonScripts\test.sikuli\\Log.txt') )

I've tried using cacls sikulix.jar /g everyone:f  to no avail. also did
that to the entire test.sikuli folder and its contents to test it. still
having the same error.

-- 
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