sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04251
Re: [Question #166488]: How to concatenate string and float?
Question #166488 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/166488
RaiMan proposed the following answer:
if you are trying to say:
print "some text"+time.mktime(u.info().getdate("date"))
then you have to say either:
print "some text", time.mktime(u.info().getdate("date"))
or
print "some text"+str(time.mktime(u.info().getdate("date")))
or
print "some text %d"%(time.mktime(u.info().getdate("date")))
same for popup()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.