Image of the errori am using anaconda(python 3.8.5) in vscode i am importing the y.py to the x.py by saying # note : both my x and y are on the same folder named blog
the statement i used for importing is
from .x import func_name
but i am having issues with the relative import saying that: ERROR:Exception has occurred: ImportError attempted relative import with no known parent package File "C:Users bw19harathwajanlogx.py", line 2, in from .models import data