Рет қаралды 27,779
In this video we're going to be looking at the difference between _new_ and _init_ in Python! We'll cover how they work and how we can use them.
▶ Become job-ready with Python:
www.indently.io
▶ Follow me on Instagram:
/ indentlyreels
00:00 Intro
00:20 Getting started
00:49 Private attribute
00:58 _new_
02:53 _init_
03:03 Running the example
04:27 Quick summary
05:02 Another example
08.28 Summing it up