sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35329
[Question #273030]: Return Variable from imported script
New question #273030 on Sikuli:
https://answers.launchpad.net/sikuli/+question/273030
1.1.0(2015-08-20_01:00nightly)/Mac10.10.5/Java8(64)1.8.0_25-b17
import Import_Script2
result = "script1"
message = "Send this message"
Import_Script2.test_3(result, message)
=============== Import_Script2 ==============
def test_3(result, message):
result = "the Result"
print "Passed Message ",message," local result",result
is there anyway to return : result = "the Result"
as after running and printing result I get "script1" which is the value before calling the imported script function
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.