← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #236585]: html related ques

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
op.writeline("value of var a is " + str(var))

Python has a the string format command too, that allows, to prepare a
template string with placeholders for variables, that are filled in at
runtime:

op.writeline("value of var a is %d" % (var))

look: http://docs.python.org/2.6/library/string.html#string-formatting

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