Your user_functions.py lies in a different folder parallel to your main_script.py so you need to let python know to import from the parent (`..`) folder.
user_functions.py
main_script.py
import sys sys.path.append("..") from user_functions import config_reader