What is the command to get "python script" output using template Node

Hi I am vinay,

image

Here I have written "hello world" program in python file and I have placed python file path in "exec node". From that node I want to fetch python script output into "template" node.

I have used {{msg.payload}} but it is not getting

Just {{payload}} should work!

image

I have used console.log({{payload}}) to see output in chrome "console"
It is getting above error

Looks like you are missing a closing bracket there!

1 Like

missing quotes around the text (the bracket is there on the next line)

should be console.log("hello world")

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