my apologies in advance for a python and json nubie question. json seems to be hiccuping on the following statements:
temp = json.loads(line) text = temp['text']
I get the following error output when the above code snippet encounters lines similar to the above json 'dictionary':
text = temp['text'] KeyError: 'text'
Is it because there is no "text" key in the line or because "delete" is not in the dictionary?