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

RaiMan posted a new comment:
the best way always is, to decide for a folder yourself.

e.g the folder containing the script you are running:

dir = getParentPath()

with open(os.path.join(dir, 'output.txt'), 'w') as f:

here you find some more convenience functions for folder handling:
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#file-and-path-handling-convenience-functions

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