From 23c42c6e3bbb84733e9d5fd270efe0940260ebdd Mon Sep 17 00:00:00 2001 From: Kasper Dokter Date: Tue, 1 Sep 2020 09:56:05 +0200 Subject: [PATCH] Adding instructions --- main.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/main.py b/main.py index 619c292..289eb07 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,21 @@ +""" + This is a short demo on how to dynamically update a running system. + To run the demo, run: + + python main.py + + Go to app.py, and change Line 14 from + + target.put(random.randint(0,9)) + + to + + target.put(random.randint(0,999)) + + The system automatically picks up the change. +""" + + import os import time import importlib