How to set global variables from methods or function?
Asked by
Jeff Sant
Here is my code in which i am getting error
value_not_found=0
def value_not_found():
global value_not_found
value_not_found=1
def valuefound():
global value_not_found
i call the function in another function def:
def check_value_found:
When i try to call a function i get this error:
TypeError: 'int' object is not callable
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jeff Sant
- Solved:
- Last query:
- Last reply:
To post a message you must log in.