sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22722
Re: [Question #240688]: How to convert String to integer
Question #240688 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240688
obiwan-92 posted a new comment:
Hi !
Nothing to add to the RaiMan answer, but, if I was you, I will secure the code :
try:
number = int(region.text())
except ValueError, err:
print "Error : ", err
Regards.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.