I\'m trying to read a JSON file I have saved in a text file using the python .loads() function. I will later parse the JSON to obtain a specific value.
I keep getting th
Specify the encoding in the open call.
open
# encoding is a keyword argument open("/Users/.../KanyeAllSongs.txt", encoding='utf-8') as data_file: data=json.load(data_file)