sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33671
[Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli
thanks, Raiman, wau 1.1.0 ill check it out.
** Description changed:
In PYTHON there is a simple construct to swap Variables without the use
of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am I
right?
Here is my example...
var1 = 0
var2 = 1
print "var1 = ", var1
print "var2 = ", var2
- var1, Var2 = var2, var1
+ var1, var2 = var2, var1
print "var1 = ", var1
print "var2 = ", var2
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1474033
Title:
Python construc to swap variables doesn't work in Sikuli
Status in Sikuli:
Opinion
Bug description:
In PYTHON there is a simple construct to swap Variables without the
use of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am
I right?
Here is my example...
var1 = 0
var2 = 1
print "var1 = ", var1
print "var2 = ", var2
var1, var2 = var2, var1
print "var1 = ", var1
print "var2 = ", var2
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1474033/+subscriptions
References