I was poking around with running a python script in my raspberry pi with the exec node.
It looks like my script was run by it but i don't think i know how to get the result crunched by my code in the msg.payload or debug tab in node red.
Can someone point me out as to what i need to do in my python code to make this show up in the debug panel of node red? My python code generates a json styled output which needs to be used to do something on the Node red dashboard.
Appreciate any help on this !