TypeError: expected str, bytes or os.PathLike object, not _io.TextIOWrapper
I am trying to open, read, modify, and close a json file using the example here: How to add a key-value to JSON data retrieved from a file with Python? I keep getting an error at the end (with open(jsonFile…) that I can’t use the jsonFile variable with open(). I used the exact format as … Read more