[Python] Unable to import config.py into nested subdirectory

Discussão em 'Python' iniciado por Stack, Novembro 29, 2024.

  1. Stack

    Stack Membro Participativo

    New to python. I have the following directory structure - however, I am unable to import my config.py file into bottom level files. I have tried sys.path.append in my __init__.py, as well as importing in my __init__.py files. All ears if there's an easy way to do this. Thanks!

    [​IMG]

    Continue reading...

Compartilhe esta Página