← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676784]: Automatic press enter after type text

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I am really sorry, to not having seen that - obvious, when reading lines
from a file.

Python has the function strip(), which removes whitespace from the
beginning and end of a string:

type (Pattern("1544694065545.png").targetOffset(0,29), i.strip())

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