← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #671085]: How to cut string from region of picture?

 

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

    Status: Open => Answered

masuo proposed the following answer:
Do you use Python ?
When you use Python in the script and you want to edit strings, you have to search Python documentation.
for example, https://docs.python.org/2/library/string.html

[example]
s = "2.45%"
print s
print s.strip("%")

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.