From 27ec3e5b9ae3747eec04fc8263a149b8a854bb07 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 11 May 2022 11:52:33 +0200 Subject: [PATCH] added example with import --- scripts/example-with-import.py | 10 ++++++++++ scripts/some_lib.py | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100755 scripts/example-with-import.py create mode 100644 scripts/some_lib.py diff --git a/scripts/example-with-import.py b/scripts/example-with-import.py new file mode 100755 index 0000000..7975ffa --- /dev/null +++ b/scripts/example-with-import.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +print("running example with import") + +from some_lib import some_var + +print(some_var) + + + diff --git a/scripts/some_lib.py b/scripts/some_lib.py new file mode 100644 index 0000000..ef82a12 --- /dev/null +++ b/scripts/some_lib.py @@ -0,0 +1,6 @@ + + +some_var = "some thing" + + +