Message342613
| Author | zach.ware |
|---|---|
| Recipients | Justin Rose, zach.ware |
| Date | 2019-05-15.22:51:12 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1557960672.45.0.977810475689.issue36931@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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-list@python.org mailing list, StackOverflow, or if you're just learning Python, try the tutor@python.org mailing list. Thanks! |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-05-15 22:51:12 | zach.ware | set | recipients: + zach.ware, Justin Rose |
| 2019-05-15 22:51:12 | zach.ware | set | messageid: <1557960672.45.0.977810475689.issue36931@roundup.psfhosted.org> |
| 2019-05-15 22:51:12 | zach.ware | link | issue36931 messages |
| 2019-05-15 22:51:12 | zach.ware | create | |