sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #40420
Re: [Question #239574]: Sikuli type() vs python\jython type() commands --- use isinstance() instead
Question #239574 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/239574
Alex Lunyov posted a new comment:
I had the same problem (and solved for my task). Please, let me know it
this workaround is bad for any reason:
sikulitype = type # save sikuli type function
del type # delete it to return to native Python function
pythtype = type # save native function
type = sikulitype # return to Sikuli common type() function
print pythtype(pythtype) # works as expected, gives Python type() result
type("OK") # as usual Sikuli typing
// comments for the Sikuli/Python beginners :)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.