Depends on what you want to do when there’s more than one value in change['Errors']
. Currently the value is a list of one element (u'DELETED'
). If you want to print just the text, you need:
print error[0]
But maybe just in case it would be better to do:
print u', '.join(error)
2
solved Json output s — just print the output withou u