Download your free Python Cheat Sheet here:
Free Python Skill Test with instant level + learning plan:
Want to learn faster? Become a Python Expert with unlimited access to 5,000+ tutorials, videos, and exercises:
This is a preview of the video course, "What Does Python's __init__.py Do?". Python’s special __init__.py file marks a directory as a regular Python package and allows you to import its modules. This file runs automatically the first time you import its containing package. You can use it to initialize package-level variables, define functions or classes, and structure the package’s namespace clearly for users.
This is a portion of the complete course, which you can find here:
The rest of the course covers:
- Using the Basic Example in the REPL
- Flattening the Interface - Code
- Flattening the Interface - REPL
- Managing Wildcard Imports
- What Does Python's __init__.py Do? (Quiz)
🐍 Become a Python expert with real-world tutorials, on-demand courses, interactive quizzes, and 24/7 access to a community of experts at
▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰
🐍 Start Here →
🗺️ Guided Learning Paths →
🎧 Real Python Podcast →
📚 Python Books →
📖 Python Reference →
🧑💻 Quizzes & Exercises →
🎓 Live Courses:
⭐️ Reviews & Learner Stories:
▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰
|
Ross Richards, Senior Product Marketing ...
Learn the basics of Data Structures in 6...
Today Quincy Larson interviews Justin Se...
For more details on this topic, visit th...
Download your free Python Cheat Sheet he...
Download your free Python Cheat Sheet he...
Tired of dependency updates breaking you...
XOCEAN is mapping the oceans to power th...
When Proximie’s CTO was operated on by h...
Every month, the world builds a new Manh...
For patients with rare and serious disea...
After 8 years as a Senior Manufacturing ...
This end-to-end course provides a deep d...
We’re already on Day 4 of NDC Security 2...
Sometimes breaking your code and figurin...
This talk was recorded at NDC London in ...