1 2 3 4 5 6
from fbs_runtime.application_context.PyQt5 import ApplicationContext importTool = ApplicationContext() def fileImporter(file): return importTool.get_resource(file)