There are the following folders:
└── Programa/
├── main.py <----- Inicio esse...
├── bin/
| └── config.py <----- esse importa o db.py
└── database/
├── __init__.py
└── db.py
In the console it shows that there is no module db
, and I start main
, which imports config
and config
imports db
.
But when I import the db
direct from main
it does not give error.