sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34440
Re: [Question #242288]: How to import Sikuli file but not run it immediately?
Question #242288 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242288
Vinodh Yelugoti posted a new comment:
Hello Raiman -
I have a probelm with reload function! It starts executing complete
module.
for eg:
#Script1
from sikuli import *
def function1():
..
function1()
def function2()
..
funtion2()
#In script 2
import script1
reload(script1)
After this, it starts executing complete script1 i.e function1 and
function2!
What should i do if i want to execute only function2 of script1 in
script2?? But i also need dynamic changes of screen captures that i do
in script1 to be reflected in script2
Thanks,
VINODH
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.