Visual Studio Code – Python – ModuleNotFoundError- No module named 'XXX'
I have folder hierarchy as: ->Project Folder -Main.py ->modules Folder ->PowerSupply Folder - PowerSupply.py - SerialPort.py In Main.py I am importing PowerSupply.py with following command from modules.PowerSupply.PowerSupply import * Then inside of PowerSupply.py, I am importing SerilPort.py with following command…