@kayakbabe so , maybe your python script starts and runs, prints one line, and ends. current temp is x
is that all you want your module to present, one line?
or do you want the output every few seconds minutes
this is repetative:false, but my module will rerun the script every cycle time milliseconds
but some python scripts do that internally.
print, sleep, print, sleep, print, sleep, print…
this is repetative: true
my module will just start the python script
there are two different ways to capture the output
should have named parm
script_is_long_running
I provided a sample of each
also, in many cases, you are using someone else’s script and don’t have control over how it works, and don’t want to rewrite it