I am trying to execute Knime workflows in Python scripts. I know it is possible via REST call as indicated here https://www.knime.com/blog/blending-knime-and-python.
Is there a way to execute the workflow in a more ‘local’ way, i.e. execute the file containing the workflows?
I believe it shouldn’t be a problem. From Python you should find a way to send command to MS DOS windows or Windows PowerShell. The command needs to start Knime workflow in batch mode.
take a look at https://www.knime.com/faq#q12 on how to start a KNIME workflow in batch mode, you can use these commands via Python system like @ipazin suggested: https://stackoverflow.com/questions/89228/calling-an-external-command-in-python
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.