sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #00745
Re: [Question #142149]: Write Sikuli Var to file
Question #142149 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/142149
Status: Open => Answered
RaiMan proposed the following answer:
str() or repr() on an object produces a string representation of the
object, that is a return value of a standard built-in method, that can
be overwritten by the class designer.
In this case, they have Sikuli developers have decided to do it this way
;-)
do this when writing to file:
regionfile.write("r1="+str(r1).split('@')[0]+"\n")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.