In VSCode, when importing other files, VSCode searches for the imported file ("models.py") from the parent folder of the currently opened file ("views.py") by default, so we can use "from models import data
":
The Python language service I use is Jedi
.
"python.languageServer": "Jedi",
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…