mirror of
https://github.com/codeninjasuk/python-camp-24.git
synced 2024-11-22 07:18:03 -05:00
13 lines
251 B
Python
13 lines
251 B
Python
|
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")
|