How can I access modules from another folder?
Here's the file structure:
/<appname> /config __init__.py config.py /test test.py # I'm here I wanted to access the functions from config.py from test.py . How would I do this?
Here is my import:
import config.config When I run the test.py script, it will always say:
ImportError: No module named config.config Did I do something wrong?
os.pathshenanigans to move around your relative path. stackoverflow.com/questions/279237/…