What __builtins__ do? 2MinutesPy

Published: 12 July 2024
on channel: 2MinutesPy
1,900
130

In this video, we will discuss what _builtins_ brings to the table and what if it was not there in Python.

You surely used some of the functions like min, print, range, id, len, and more without explicitly importing them or their helping module. Take a moment and think, what could be the reason.

All this is possible because of the __builtins__, it brings all the built-in functions, variables, and constants. This is what gives Python its allure and elegance. It provides ready-to-use functions that make code even better and efficient.

Chapters:
⏩ 0:00 Intro
⏩ 0:15 What is _builtins_
⏩ 0:36 Example
⏩0:47 Why _builtins_ so necessary
⏩1:10 Using _builtins_ in the code
⏩1:34 Take a moment and appreciate it
⏩1:46 Outro

✨More on 2MinutesPy👇👇

▶️ _call_ in Python?    • __call__ in Python  

▶️ Why __init__.py File is Used in Python Projects:    • Why __init__.py File is Used in Pytho...  

▶️ _new_ VS _init_ in Python:    • __new__ VS __init__ in Python  

▶️ Decorators in Python:    • What are Decorators in Python? 2Minut...  

▶️ How to use map() in Python:    • How to use map() function in Python |...  

Subscribe to    / @2minutespy   for more such videos.

@2MinutesPy

#builtins #__builtins__ #functions #python #2minutespy


On this page of the site you can watch the video online What __builtins__ do? 2MinutesPy with a duration of hours minute second in good quality, which was uploaded by the user 2MinutesPy 12 July 2024, share the link with friends and acquaintances, this video has already been watched 1,900 times on youtube and it was liked by 130 viewers. Enjoy your viewing!