Watch This
  • Trending
  • Explore

"__new__" is awesome in Python

In today's video we're going to learn about "__new__" in Python, which is an awesome dunder method which always gets called before "__init__". ▶ Become job-ready with Python: https://www.indently.io ▶ Learn Rust with me:    / @rustfully   00:00 Learning Python made simple 00:04 Intro 00:16 Basics 01:47 _new_ vs _init_ 03:04 Common use cases 10:24 Returning the wrong type 11:50 Forgetting to return 12:41 Practical example 16:00 Performance impact 17:15 Summary

Join Today
5 easy mistakes you’ve made in Python
▶︎

5 easy mistakes you’ve made in Python

Python 3.14: The NEW T-strings are Awesome
▶︎

Python 3.14: The NEW T-strings are Awesome

5 Uncommon Python Features I Love
▶︎

5 Uncommon Python Features I Love

What does '__init__.py' do in Python?
▶︎

What does '__init__.py' do in Python?

What is functools.wraps in Python 🐍
▶︎

What is functools.wraps in Python 🐍

Generics are VITAL in typed Python
▶︎

Generics are VITAL in typed Python

Learn Python OOP in under 20 Minutes
▶︎

Learn Python OOP in under 20 Minutes

10 Nooby Mistakes Devs Often Make In Python
▶︎

10 Nooby Mistakes Devs Often Make In Python

NASAs Coding Requirements Are Insane
▶︎

NASAs Coding Requirements Are Insane

Every Programmer Should Know These 3 Languages (No, NOT Python!)
▶︎

Every Programmer Should Know These 3 Languages (No, NOT Python!)

Python OOP Will Finally Make Sense After This
▶︎

Python OOP Will Finally Make Sense After This

5 Good Python Habits
▶︎

5 Good Python Habits

TypedDict is Awesome in Python
▶︎

TypedDict is Awesome in Python

Please Master This MAGIC Python Feature... 🪄
▶︎

Please Master This MAGIC Python Feature... 🪄

The Dark Side of .reserve()
▶︎

The Dark Side of .reserve()

Python Decorators - Visually Explained
▶︎

Python Decorators - Visually Explained

JSON in Python - Visually Explained
▶︎

JSON in Python - Visually Explained

AsyncIO VS Threading VS Multiprocessing in Python
▶︎

AsyncIO VS Threading VS Multiprocessing in Python

5 Weird Python Features
▶︎

5 Weird Python Features

7 Python Mistakes That Instantly Expose Junior Developers
▶︎

7 Python Mistakes That Instantly Expose Junior Developers

AboutContactPrivacyTerms
Made with ❤️ by Abdo