tubeshowcaseโ—894,710 videosโ™ก My collection 0
โ† Learn to Code

Learn to Code12:46

What does '__init__.py' do in Python?

Tech With Tim โ†—

From the creator

๐Ÿ“ฌ Join my Free Newsletter: https://techwithtim.net/newsletter ๐ŸŽ“ Get private mentorship from me: https://training.techwithtim.net If you've read a fair amount of Python code, then you've probably seen this "__init__.py" file pop up quite a few times. It's especially common in larger Python projects. I'm going to breakdown exactly what this file is, when you should use it, and exactly how it works. ๐Ÿš€ My Software Development Program: https://coursecareers.com/a/techwithtim?course=software-dev-fundamentals&campaign=youtubedescription ๐ŸŽž Video Resources ๐ŸŽž Newsletter: https://www.techwithtim.net/newsletter DevLaunch: https://training.techwithtim.net/ โณ Timestamps โณ 00:00 | Understanding Modules & Packages 03:21 | Free Newsletter 04:12 | __init__ Usage 06:40 | Relative Imports & Import Errors 10:06 | Multiple Packages Hashtags #Python #PythonFunctions #SoftwareDevelopment

Published 2025-02-02 ยท Watch on YouTube โ†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code