I can't import a python file from different folder in visual studio code. I also tried to save a init.py file in my module but got the same error. I don't wanna use pythonPATH.
import my_module.shopping_cart
the error I get:
/python/sample codes/notebook.py", line 4, in <module>
import my_module.shopping_cart
ModuleNotFoundError: No module named 'my_module'