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

    Status: Open => Answered

RaiMan proposed the following answer:
lines1 = open(file1).readlines()
lines2 = open(file2).readlines()

shouldFail = false
for i in range(length(lines1)):
    if not lines1[i] ==  lines1[i]:
        shouldFail = true
        break
if shouldFail:
    print "files do not have equal content"

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