← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #247086]: Text Recognition and then addition

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
text = reg.text() # now text contains the read string

# apply all correction rules 
text = text.replace("I", "1")

see: https://docs.python.org/2/library/stdtypes.html#str.replace

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