← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #132445]: Reading / writing to a file in sikuli

 

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

Nicolas posted a new comment:
To be even more specific, as soon as

my_file.write("Some text"+el) # if you want to have line breaks
my_file.close

is executed with another function, it doesn't work anymore.

This works:

my_file.write("Some text"+el) # if you want to have line breaks
my_file.close

This doesn't:

my_file.write("Some text"+el) # if you want to have line breaks
my_file.close
aFunctionToExecute()

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.