I am using virtual cloud from iotify.io and using execute node. I am not able to call a python script. How to run a python script in Node-RED?
Asked
Active
Viewed 1,546 times
1 Answers
3
I have no idea about iotify.io but if you are on a Pi as your tags suggest, i.e. NodeRed is running on the Pi, you can have something like this in the exec node:
/usr/bin/python /home/pi/HelloWorld.py
. If NodeRed is not running on the Pi though, the exec will execute where it is actually running so it won't find that file. You would need the script on the server where NodeRed is running.
HTH
Maeve

amadain
- 2,724
- 4
- 37
- 58
-
Nice answer, @amadain! – DisappointedByUnaccountableMod Nov 04 '16 at 21:57