Package namespace without __init__.py?

Is it true that Python (from version 3.6 onwards, I think) considers all directories/folders as packages, even if those directories/folders do not contain the __init__.py file?

Can you elaborate on this?

Yes, although it goes back much further than 3.6. They are referred to as ‘namespace packages’, and if you search for that term you’ll find the documentation related to them.

@PedanticHacker, some reading, maybe it helps you like it helped me: