I have some python scripts that want to run by Node-Red with a few questions:
- From Node-Red, how to pass A, B, C or D to specific functions in a Class?
Python script (eg)
def multiply(A, B):
print (A * B)
def sum(C, D):
- How to run python in a virtual environment? I try to run by Pythonshell but seems it runs on Python 2.x? I need to run Python 3.x.