node-red-contrib-python-function icon indicating copy to clipboard operation
node-red-contrib-python-function copied to clipboard

Write Python functions in Node-RED!

Results 8 node-red-contrib-python-function issues
Sort by recently updated
recently updated
newest added

I need to write a script that continuously sends out messages every second that contain generated data. This module will only send out messages after the entire script has completed....

I have created a node ![image](https://user-images.githubusercontent.com/33371855/84624495-217daf80-aeff-11ea-83d9-7ad798e749cf.png) in python function I have added simple code like: ![image](https://user-images.githubusercontent.com/33371855/84624533-322e2580-aeff-11ea-90a8-3632ed322ac5.png) But I am getting an error like: ` s = s.decode(detect_encoding(s), 'surrogatepass') File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\encodings\utf_32_le.py",...

Hi, node-red 2.0.0 has a new additional editor - see here : https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990 It can be enabled in settings.js as described in the post. However, as your node does not...

Hi, I am using Node-red 2.2. I created a simple flow by use inject, python-function and debug nodes. Flowing code is in the python-function node: import yfinance as yf df...

Hello, I get a very stupid question. How to get the value of _msg.payload_ ? my value is number... Something like : `var value = msg.payload` Thank You.

Great Work on the development ! I am trying to create isolated Python execution over this. I will create pull request if successful. Have you tried anything in specific to...

The context object (which allows to store data between various executions of the node) is not accessible through the python function.

enhancement

after installing the node through npm, when I start node-RED on my raspberry pi zero i can read these lines and the node won't appear. ``` pi : TTY=unknown ;...

Raspberry Pi Zero