Fix Python – Relative imports – ModuleNotFoundError: No module named x

This is the first time I’ve really sat down and tried python 3, and seem to be failing miserably. I have the following two files:

test.py
config.py

config.py has a few functions defined in it as well as a few variables. I’ve stripped it down to the following:
config.py
debug = True

test.py
import config
print (config.debug)

I also have an __in….