Question #181279 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181279
Status: Open => Answered
RaiMan proposed the following answer:
use instead:
isinstance(some_object,class)
which returns True or False.
e.g.
reg = Region(1, 1, 100, 100)
if isinstance(reg, Region):
print "yes, a Region"
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp