10 lines
283 B
Python
10 lines
283 B
Python
import importlib.util
|
|
spec = importlib.util.spec_from_file_location('sfp_module', 'VideoReceiverSFP/core/sfp_module.py')
|
|
mod = importlib.util.module_from_spec(spec)
|
|
try:
|
|
spec.loader.exec_module(mod)
|
|
print('Imported OK')
|
|
except Exception as e:
|
|
print('ERROR', e)
|
|
raise
|