Pass Node-RED message to Python script#6
Conversation
|
Thank you @Alkarex ! I installed the repository you Forked into Node-RED and got some errors. The second error was a syntax error when executing the command. I will try to solve this error and write the Python code that was written in the command in the new file. |
|
Ah, this is probably due to running on Windows. |
|
Please try again |
|
Thank you @Alkarex ! I tried it with a short command. I fixed it for line 19 in the node/venv.js file.: ↓ I can run it in my environment. |
|
Could you show the error message you get in Node-RED when running with the original quotes? |
|
@Alkarex After fixing the quotations, I was able to run it! |
|
Your suggestion also works for me, so fine |
|
Thank you @Alkarex ! |





Allow something like

print(msg['payload'])fix #4