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


Watch video What __builtins__ do? 2MinutesPy online without registration, duration hours minute second in high quality. This video was added by user 2MinutesPy 12 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,900 once and liked it 130 people.