onAppear(): TypeError 'NoneType' object is not callable when use observe() --- second parameter must be the name of a handler function
Asked by
lynn
def MyPrint(MyString):
print "Now system is in:", MyString
reg1=Region(
reg1.onAppear(
reg1.observe(
system display [error] TypeError ( 'NoneType' object is not callable ) after running.
And if I change as reg1.observe(
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask lynn for more information if necessary.
To post a message you must log in.