2020-06-15, 21:15
(2020-06-14, 06:48)pkscout Wrote: The currently shipping version of Kodi is still using a Python 2.7 interpreter (the upcoming Matrix release switches to Python3). Under Python 2.7 You must have an __init__.py file (even an empty one will work) in every directory you want treated as a module. I'd suggest moving globals.py to resources and then putting an __init__.py file in the resources folder. Then you should be able to do:Hi @pkscout,
python:
from resources.global import *
from resources.addon_utils import *
Thank you very much, your solution to make a blank __init__.py file within the resources folder worked well, as I am now succefully able to import scripts from the resources directory.
Thank you very much for your help