Python File System Connection


Does anyone know of a way to pass a file system connection (e.g. a Google Drive or a network drive) to the Python Script node to read and write files? I appreciate the connections can probably be created in the script node, but that’s not viable in my case. I’m also unable to use native KNIME read/write nodes.

Thanks in advance!

Hey @sforesti,

Unfortunately, I do not believe it is possible to pass file system connections to the Python script node.

With your restriction on not doing it in the script node, the only method would be to directly handle it via a .py file and running it from command line or ide of your choice.



Hi @thor_landstrom,

Thanks for looking into this and providing this explanation!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.