What __builtins__ do? 2MinutesPy

Опубликовано: 12 Июль 2024
на канале: 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


Смотрите видео What __builtins__ do? 2MinutesPy онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь 2MinutesPy 12 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,900 раз и оно понравилось 130 людям.