I need a lot more details to be able to answer. What is the error message? What is the context?
When you say, "
python's for i in zip throws error" I can't help wondering if you are missing the colon (:) character at the end of that line.My first thought is that this code,
in1.color + " " + in1.type, concatenates two columns with a space between them. Just to be sure, I tested it and the error thrown had to do with Null in those fields in some of the records of the default "Create Data" node. So I added code to handle Nulls:
if in1.color is Null:
if in1.type is Null:
x = Null
else:
x = in1.type
else:
if in1.type is Null:
x = in1.color
else:
x = in1.color + " " + in1.type
out1.x = x
------------------------------
Ernest Jones
Precisely Software Inc.
PEARL RIVER NY
------------------------------