Zachary Ware <zachary.w...@gmail.com> added the comment:
You're passing in a filename, not a file-like object (see https://docs.python.org/3/library/json.html#json.load). Instead, you'll want something like: with open(filename) as f: json_data = json.load(f) Please note that this is not a help forum; in future, please submit queries like this to the python-l...@python.org mailing list, StackOverflow, or if you're just learning Python, try the tu...@python.org mailing list. Thanks! ---------- nosy: +zach.ware resolution: -> not a bug stage: -> resolved status: open -> closed type: resource usage -> _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36931> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com