I created the jython code in Excel by "textjoin" of strings. I copy-pasted this in openLCA's jython window. Once the syntax issues were resolved, it worked like a charm.
But it doesn't recognize whether the flow stream already exists. So, it creates duplicates. I didn't see anything in Jython manual regarding how to check whether a flow, process or system already exist. Any thoughts?