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

    Status: Open => Answered

RaiMan proposed the following answer:
import random

male = open("male.txt").readlines()
female = open("male.txt").readlines()
results = open("male.txt", "w")

howmany = len(male) * len(female)

for i in range(how many):    
    print >> results, "%s - %s"%(random.choice(male).trim(), 
random.choice(male).trim())

-- 
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