What's the best way to read JSON from a file in Python? or How do I properly read JSON from a file in

18 Replies, 922 Views

If you're doing json read from file python, maybe the file isn't closing properly? Use `with` like others said, but also check if the file is being used elsewhere.

Also, this tool saved me: [JSON Formatter](https://jsonformatter.org/). Paste your JSON there and see if it’s actually valid.

Messages In This Thread



Users browsing this thread: 1 Guest(s)