You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a python function that will monitor for a specific value to be true or false.
If the function is true, I would like to call a command script from my python code.
To be clear, in the case that I have my terminology wrong.
Python will monitor an API and look for a value to be true. When true I want to execute a command script, lets say @foo. Then continue to monitor the API for the condition to be true again. Then execute @foo again.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a python function that will monitor for a specific value to be true or false.
If the function is true, I would like to call a command script from my python code.
To be clear, in the case that I have my terminology wrong.
Python will monitor an API and look for a value to be true. When true I want to execute a command script, lets say @foo. Then continue to monitor the API for the condition to be true again. Then execute @foo again.
Thank you!!
Beta Was this translation helpful? Give feedback.
All reactions