Re: [Sikuli-driver] [Question #268754]: put a variable as text into a Debug.log(image not found %, xyz); What are the exit() parameters?

2015-07-01 Thread eduardobedoya
Question #268754 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268754

Status: Answered = Solved

eduardobedoya confirmed that the question is solved:
Thanks Eugene S, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #268754]: put a variable as text into a Debug.log(image not found %, xyz); What are the exit() parameters?

2015-07-01 Thread eduardobedoya
Question #268754 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268754

Summary changed to:
put a variable as text into a Debug.log(image not found %, xyz); What are the 
exit() parameters?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #268754]: put a variable as text into a Debug.log(image not found %, xyz)

2015-07-01 Thread eduardobedoya
Question #268754 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268754

Summary changed to:
put a variable as text into a Debug.log(image not found %, xyz)

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #268754]: put a variable as text into a Debug.log(image not found %, xyz)

2015-07-01 Thread Eugene S
Question #268754 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268754

Status: Open = Answered

Eugene S proposed the following answer:
You have to specify the format of the variable you are using after the
% specifier.

Have a look here for a full list of format types:
https://docs.python.org/2/library/stdtypes.html#string-formatting-operations


In you case that could be:

xyz=somestring
Debug.log(image not found %s, xyz)

so since xyz a string here, you specify that by using %s

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp