I have an issue with VScode I can't figure out. When I began to develop my project I had the following structure :
TopDirectory
file1.py
file2.py
file3.py
....
Everything was working fine. Then I decided to put all the file*.py into a subdirectory called core.
TopDirectory
core
file1.py
file2.py
file3.py
When I execute the code it runs without any issues but Vscode tells me that it can't resolve the modules although they are all in the same (like before). If I import the modules this way : import core.file2 core.file3 in file1, VScode stops complaining but my code does not run any longer telling me that there is no core module when I run file1.py. I also tried the import .file2, VSCode is still happy but Python tells me that there is no known parent package.
Can you help me fix this, or at least understand what's happening here ?

