Relative import in Python 3 is not working

Question or problem about Python programming: I have the following directory: mydirectory ├── ├── └── I have a function f defined in If, in, I do from .file1 import f I get the following error: Why? And how to make it work? How to solve the problem: Solution 1: since […]

Continue Reading