Question #179195 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/179195
Status: Open => Answered
RaiMan proposed the following answer:
xFirst = first.lower()
xLast = last.lower()
xPass = password.lower()
if xPass.count(xFirst) > 0:
print "first name in password"
elif xPass.count(xLast) > 0:
print "last name in password"
else:
print "no first or last name in password"
recommendation: by yourself the O'Reillys Python Pocket Reference. It is
really nice and compact.
--
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