Importerror: Attempted Relative Import with No Known Parent Package Python
📁 Advanced Python Topics, Error, project
I have such a project structure
--- Package1/code.py --- Package2/ext.py how to import a variable from ext.py to code.py?
from ext import var - it does not work, says that there is no module ext
Importerror: Attempted Relative Import with No Known Parent Package
No answers yet.
Log in to leave an answer
Blogs
Algorithms and Data Structures in C#: A Complete Developer's Guide