Is it possible to give a parameter to a running python script?

Hello

Is it possible to give a parameter to a running python script ?
I would like to change a variable.

thx in advance
Simon

Yes if the running script has a means of accepting input (e.g. listens to STDin or permits communication via MQTT or some other mechanism)

What is the python script doing? Did you write it?

Yes I wrote it.
I will try it with MQTT!

THX!

If you call it with the node- red-node-daemon node that pipes input to your stdin

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.