← Back to team overview

sikuli-driver team mailing list archive

[Question #237412]: Read random line from text file

 

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

I have three text files:
male.txt - containing male names / names separator = new line
female.txt - containing female names / names separator = new line
results.txt - results file

I need:
loop:
male = "random line from male.txt"
female = "random line from female.txt"
write (str(male)+"-"+str(female)+"\n") to resuls.txt



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