aboutsummaryrefslogtreecommitdiff
path: root/demo1/bar.py
diff options
context:
space:
mode:
Diffstat (limited to 'demo1/bar.py')
-rw-r--r--demo1/bar.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/demo1/bar.py b/demo1/bar.py
new file mode 100644
index 0000000..3a0992e
--- /dev/null
+++ b/demo1/bar.py
@@ -0,0 +1,7 @@
+from . import get_resource
+import json
+
+def run():
+ j = json.loads(get_resource("stuff.json"))
+ print(repr(j))
+ print(j["foo"])