← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

 

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

RaiMan proposed the following answer:
As far as I understand:

def doSomething(gid, acc):
    setup app environment using gid and acc
    do something for an account
    tear down app environment

you have
8 google-id
with each having 1 - 5 accounts 

googleIDs = [g1, g2, g3, g4, g5, g6, g7, g8] 
accounts{g1:[a1, a2, a3, ...], g2:[a5, a6, ...], ...}

for gid in googleIDs:
    for acc in accounts[gid]:
        doSomething(gid, acc)

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