Question #224366 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/224366

    Status: Answered => Open

Matt Pappas is still having a problem:
Hello,
Thanks for your very quick reply.  I've tried to implement your proposed 
structure, but I suspect I misunderstood your example, because I'm still 
running into this error based on the code below:

[error] Error message: Traceback (most recent call last):
File "C:\Users\AppData\Local\Temp\sikuli-tmp4026104592966457649.py", line 9, in 
sub_script_A()

TypeError: 'module' object is not callable


Main_Script
#<main start>
import sub_script_A
import sub_script_B

for x in xrange(0,100):

        sub_script_A()
        sub_script_B()
#<main end>

Sub_Script_A
#<script A start>
def sub_script_A():
        Click(some image)
        Type(some text)
        Etc...
#<script A end>

Sub_Script_B
#<script B start>
def sub_script_B():
        Click(some image)
        Type(some text)
        Etc...
#<script B end>

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to