New question #404525 on Sikuli:
https://answers.launchpad.net/sikuli/+question/404525
Hi. I'm new to sikuli; been using it for 3 days now.
Currently I'm trying to save some text to a text file, but with no success.
This is the code im using.
emailNum=random.randint(100,10000) #email random number after fs*
email="fs" + str(emailNum) + "@gmail.com"
with open("accounts.txt", "a") as myfile:
myfile.writelines(email)
type(str(email))
when using python command line its working, but when used on sikuli it seem to
be doing nothing. Can anyone shed some light for me? I'm quite new.
--
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