Skip to content Skip to sidebar Skip to footer

Nested Package: Attributeerror: Module 'app' Has No Attribute

I'm just learning python, coming from a C# & Java background, and I'm pretty confused by the import system. Just trying to run a simple test for learning purposes, but getting

Solution 1:

run.py

import app

app/init.py

from.example.app import a # or b or ...

Post a Comment for "Nested Package: Attributeerror: Module 'app' Has No Attribute"