Как правильно?

Asked by Andrey

b=8
click (....)
type (b)

Как правильно написать последнюю строчку в sikuli, что бы печаталось именно значение 8?

Question information

Language:
Russian Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Eugene S
Solved:
Last query:
Last reply:
Revision history for this message
Best Eugene S (shragovich) said :
#1

type() accepts string values hence you should convert whatever you want to print to string:

b=8
click(...)
type(str(b))

Revision history for this message
Andrey (goofy82) said :
#2

Thanks Eugene S, that solved my question.