This is my file structure in vscode:
I have some general functions in my "general.py" file. For some reason if I try to
import general
inside any of the files located in "telefone" folder it works fine but, I can't import like this on "rotinas" folder files, inside that folder I need to
sys.path.append(os.path.abspath('settings'))
import general
why is it happening?
I tried creating "__init__.py
" files inside my folders, no success.