Hello,
I am relatively new to knime and I have some trouble setting up a workflow using existing python scripts.
I mainly have two questions:
1. I tried to use the external tool node, and specified my script there. This worked fine, but one is restricted to 1 input file and 1 output file. In my example I need 2 Input Files as well as 2 output files. Do you have any suggestions if (and how) one could use external tool nodes for this purpose?
2. Since I didn't found a proper way to use external tool nodes with multiple In/Out-Files, I started looking for direct pyhon integration and found Python Scripting in Community Nodes as well as Jpython in KNIME Labs. Can anyone comment on which one to use? Quickly: In my script, I do some modification on the first input file, and afterwards compare it to the second input file, as output a txt file consisting some information as well as the modified file is provided.
And if one of the to options (Python Scripting vs. Jpython) is better suited, do you happen to have some tutorial material or example how to set up such a node?
Spec for my desired node:
Input Port: 0,1 (two files)
<NODE>: use these two files, do some fancy calculations and output the results in two files
Outout Port: 0,1 (use the python created output to do something else in knime)
Thanks a lot
Andrea