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?
Thank you!
-H
ipazin
September 28, 2018, 7:56am
2
Hi!
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.
Br,
Ivan
1 Like
Hi @howellyu ,
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
best,
Gabriel
2 Likes
system
Closed
October 8, 2018, 8:03am
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.