I have a sample Python application that I'm playing around with in VS Code. The folder structure that I have is that the application is in a sub-folder. The readme.md and code-workspace files and the like are in the root of the project, and then I have a sub-folder for my application code.
I have a file that represents the entry point of the application, and other files containing supporting logic in the same folder. When I try to import from those files VS Code wants me to put a period before the module (file) name.
from .my_code_file import my_class
But that errors when I run the application. It runs just fine if I remove the leading period.
from my_code_file import my_class
Why does VS Code Intelisense think I need a period in front of the module name?
This is a representation of the file and folder structure:
|-AppCode
| |-my_code_file.py
| |-application_entry_point.py
|
|-readme.md
|-MyProject.code-workspace

