aboutsummaryrefslogtreecommitdiff
path: root/demo1/bar.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-03-10 13:46:08 -0400
committerRob Austein <sra@hactrn.net>2019-03-10 13:46:08 -0400
commitfa9a04b06a7c6f62979c506b9999abf6b2eb8208 (patch)
tree887062e0d0c0ff844eb5fd05d603aad897c77d7e /demo1/bar.py
First public version.
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"])