From 34e6e65794c1c1dbf70ea15496d9969a27072e00 Mon Sep 17 00:00:00 2001 From: Elvis Tony Date: Tue, 28 May 2024 21:15:58 +0100 Subject: [PATCH] Create main.py --- main.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..5be4c1f --- /dev/null +++ b/main.py @@ -0,0 +1,12 @@ +import importlib + +taskname = input("Type the Activity Number\n:") + +print("Running Activity " + taskname.strip()) + +try: + importlib.import_module('activity' + taskname.strip()) +except Exception as e: + print("Error: ", e) + +print("Execution Ends Here")