I have created 2 classes
Connections.py and LogObserver.py
I am trying to import Connections.py in LogObserver.py but python keep throwing an error
ModuleNotFoundError: No module named 'connections'
The way i am importing it is
from connections.Connections import Connections
class LogObserver:

main.pyor equivalent to run the whole project? If so, is the main file being run from the correct working directory? I.e. ispython main.pycommand entered in the same directory where connections and queries folders are?LogObserver.pyfrom is in whatever folder theconnectionsandqueriesfolders are. You can change the working directory manually in VSCode terminal/console. Python tries to import local modules from the current working directory, meaning from the subfolders. It can not go up/back from the working directory.