Maybe try this:
for x in list_of_data:
if x == '[]':
pass
else:
print(x)
That should at least get rid of the empty brackets.
I don’t know what to do, this doesn’t look like a normal datatype for Python…
4
solved How do I add commas to this to make it into a proper list on python?