From 8872930af71596361c2e2bcf8ded576c29c62768 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Agarwal Date: Sat, 18 Aug 2018 10:59:24 +0530 Subject: [PATCH] Accessing json file --- Loading json file.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Loading json file.py diff --git a/Loading json file.py b/Loading json file.py new file mode 100644 index 0000000..6e80727 --- /dev/null +++ b/Loading json file.py @@ -0,0 +1,5 @@ +import json +with open('AppData.json',encoding='utf-8') as F: + json_data=json.loads(F.read()) +print(json_data["Dapps"][0]["id"]) +