Create main.py

This commit is contained in:
Elvis Tony 2024-05-28 21:15:58 +01:00 committed by GitHub
parent c8379bda0b
commit 34e6e65794
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

12
main.py Normal file
View file

@ -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")