← Back to team overview

sikuli-driver team mailing list archive

[Question #411717]: can't repeat function inside while True

 

New question #411717 on Sikuli:
https://answers.launchpad.net/sikuli/+question/411717

hello, i can't get this piece of code working and i have no idea as to why...


def ABC():
    while True:
        some codes
################################
(Mainloop)
while True

    some codes

    ABC()


the above code repeats mainloop indefinitely, 
and when it arrives at the ABC() function, it should indefinitely repeat ABC(), until the code breaks when it fulfills the condition that requires it

however, what i am experiencing is, the ABC() only goes through once.
it doesn't repeat, it's as if the code is not inside while True...

so, it just goes through ABC and continues on with the rest of the codes in main loop...

can somebody help me please T.T...

i can't solve this on my own... please help...

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.