How I can implement this in “python script” node?
I wish put this script in loop where the URL of the files in input change with the iterarion and the file will be saved with the BOM
also what I have to put in output in this case?
First things first, to use Python from within KNIME, you need to do some configuration of your Python environment. That’s described in our documentation here.
Next, you would need to use a Python Snippet node to apply your code. And you mentioned you want to do this in a loop to convert each file one at a time. Here’s an example workflow:
I’m not a Python expert either, but maybe this will help you get started.
(Also, since this isn’t a text processing issue per se, I’ve moved this to the main KNIME forum for better visibility, in case it may help someone else later.)