‘module’ is not accessed PYLANCE

  python, python-3.x

I have a problem with my python project.

I have 2 folders with 2 files, and I can’t import a file into the other, he can’t find the module
enter image description here

This is my code :
enter image description here

and when i launch my main.py I have this error:
enter image description here

I already try to rename all my path without space on name’s folder, it didn’t work.

I also tried many things I found on stackoverflow but nothing change except put all files in the same folder but I can’t do that in my project (it’s a school project).

Thanks in advance for every one who will give their help.

Source: Python Questions