mirror of
https://github.com/codeninjasuk/python-camp-24.git
synced 2024-11-26 01:08:04 -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")
|