videolib.utils.import_python_file

import_python_file(filepath)[source]

Import a python file as a module.

Parameters:

filepath (str) – Path to Python file.

Returns:

Loaded module.

Return type:

ModuleType