I have a clob datapoint that I must use .read() to add it to a list, however, sometimes this column is null, so I need a check first before using the .read() property.
I've isolated the portion that is relevant. If I just print data, the null fields print as none. Is not null seems to be the wrong code, but I'm not sure what to use.
for currentrow in data:
if currentrow[8] is not null:
Product = currentrow[8].read()
else:
Product = currentrow[8]
data = tuple([currentrow[0], currentrow[1], currentrow[2], currentrow[3], currentrow[4], currentrow[5], currentrow[6], currentrow[7], Product])
print data