← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #402920]: Type variable in the Notepad

 

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

    Status: Open => Answered

masuo proposed the following answer:
#convert to strings from numeric, then paste strings

#[Example1:]
num = 123
str_num = 'num = {:d}'.format(num)
paste(str_num)

#[Example2:]
num = 456
str_num = 'num = %d' % num
paste(str_num)

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