sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11519
[Question #202298]: Variable value from the imported file gets initialized every time
New question #202298 on Sikuli:
https://answers.launchpad.net/sikuli/+question/202298
Hi,
I am having 2 files ,trying to use in below way
file1 :
a= [Image1]
b=[image2]
def module[x,y,z]
type(a,"something)
click(b)
file2 :
import file1
a= [image 3]
b=[image 4]
file1.module[p,q,r]
now my problem is , when i am calling the file1.module[p,q,r] , I am expecting the module to use the images of the variables a & b defined in the file 2 , but it always tries to use values from file1 [i.e. image 1 & image 2]
Can any one please suggest how to initialize and use the variables from file2 in the imported module from file1.
Thanks
Ujwala
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.