I know there are a lot of questions asking the same I'm now asking, but I've tried most of their answers and they doesn't fix my problem.
I have a file named fileA.py where I need to call and import fileB.py. Until now i was doing this:
# in fileA.py
import fileB.py
And it was working. But suddenly now it does not. It gives me this error:
ModuleNotFoundError: No module named 'fileB'
They are on the same folder at the same level. I've tried all of these solutiones:
import folder.fileB
from . import fileB
import fileB.py
And still same error. How can I fix this?