sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37920
Re: [Question #293226]: run sikuli from command line
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226
Eugene S proposed the following answer:
Generally, what you ask can look like this (if I understand your
question correctly):
path1 = "C:\\temp"
path2 = "C:\\temp"
compareResult = path1 == path2
def someFunction(arg1, arg2, arg3):
print arg1
print arg2
print arg3
#some other logic...
#usage
someFunction(path1, path2, compareResult)
However I really struggle to understand why would you want something like that as it's not a very good practice. It will make more sense to evaluate the comparison between the two paths inside the same function rather than passing the comparison result together with paths.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.