← Back to team overview

sikuli-driver team mailing list archive

[Question #181279]: __builtins__.type()

 

New question #181279 on Sikuli:
https://answers.launchpad.net/sikuli/+question/181279

What is the preferred way to get / compare types by using sikuli. 

The standard type(obj) from python has been overriden by type(text) # That is not really smart

And __builtins__ seems to be unrecognized keyword.


I just wanted to check whatever passed argument is Region or Pattern. But generally missing __builtins__.type(object) is really a big con.
Thanks

Lubos

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