Hoje é dia de Live de #Python \o/
Vamos explorar o sistema de módulos e pacotes no Python 📦
Como o Python encontra e carrega módulos? O que são __getattr__, __all__ e pacotes de namespace? Precisa mesmo de __init__.py? Bora papear sobre os módulos!
Nos vemos às 22h ❤️
https://youtube.com/live/t9Cmnn5kPi0
🔁🔁🔁
#python trivia: of the 2,509 __init__.py files in my various projects, 1,507 are empty.
@mangeurdenuage it looks pretty well structured?
movie_tracker/ │ ├── app/ │ ├── __init__.py │ ├── models.py │ ├── routes.py │ ├── services/ │ │ ├── __init__.py │ │ ├── movie_service.py │ │ └── omdb_service.py │ └── utils.py │ ├── config.py ├── requirements.txt └── run.pyGNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.