Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

How variables work in Python | Explained with Animations [See description/first comment]

Автор: Sreekanth

Загружено: 2021-07-01

Просмотров: 67679

Описание:

The same video is re-uploaded with better audio and minor corrections:    • How variables works in Python | Explained ...  

This video tries to explain how variables or name bindings work in Python and their internal representations like PyObject and PyVarObjects, using animations.

Intermediate level concepts like reference counting, garbage collection, how lists work internally, why python is a dynamically typed language, interning, None objects, equality operators like '==' and 'is', how 'del' works, how variables are passed into functions(pass by reference), issues with default mutable parameters, operator overloading and behaviour of augmented arithmetic assignment operators, the behaviour of mutable element in the tuple are also explained.

It also shows how mutable and immutable data types behave differently in some scenarios. This knowledge should be useful for people coming from other languages like C, Rust, or Golang and may enable them to write better Python code.

References
------------------
comments in CPython source code: https://github.com/python/cpython/blo...

Chapters
---------------
0:00 How variables works in C
0:49 How variables works in Python
3:12 How lists are represented internally
5:37 Interning
7:12 Equality operators
8:13 Pass by reference to functions
9:18 Mutable default parameters
11:24 Augmented arithmetic assignment operators
13:12 Mutable elements in Tuple

How variables work in Python | Explained with Animations [See description/first comment]

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Как работают переменные в Python | Объяснение с анимацией

Как работают переменные в Python | Объяснение с анимацией

What is a Variable in Python? Mutable vs Immutable

What is a Variable in Python? Mutable vs Immutable

Memory Management in Python - The Basics

Memory Management in Python - The Basics

Учебник по Python: области действия переменных и пространства имён — глобальные/локальные/нелокал...

Учебник по Python: области действия переменных и пространства имён — глобальные/локальные/нелокал...

Самый быстрый способ создания цикла в Python — горькая правда

Самый быстрый способ создания цикла в Python — горькая правда

25 привычек новичка в Python, от которых стоит избавиться

25 привычек новичка в Python, от которых стоит избавиться

"See CPython run: Getting to know your Python interpreter" - James Bennett (North Bay Python 2019)

Modern Graphical User Interfaces in Python

Modern Graphical User Interfaces in Python

Closures in Python | Explained with animations

Closures in Python | Explained with animations

Memory Allocation and Management in Python - simplified tutorial for beginners

Memory Allocation and Management in Python - simplified tutorial for beginners

threading vs multiprocessing in python

threading vs multiprocessing in python

Вам следует поместить это во все ваши скрипты Python | if __name__ == '__main__': ...

Вам следует поместить это во все ваши скрипты Python | if __name__ == '__main__': ...

Please Master This MAGIC Python Feature... 🪄

Please Master This MAGIC Python Feature... 🪄

Visualizing memory layout of Rust's data types

Visualizing memory layout of Rust's data types

Что такое интерпретатор Python? (Как работает Python?)

Что такое интерпретатор Python? (Как работает Python?)

Вот почему классы данных Python так хороши

Вот почему классы данных Python так хороши

15 Python Libraries You Should Know About

15 Python Libraries You Should Know About

Modern Python logging

Modern Python logging

ПОЧЕМУ СТЕК ТАКОЙ БЫСТРЫЙ? [Core Dumped]

ПОЧЕМУ СТЕК ТАКОЙ БЫСТРЫЙ? [Core Dumped]

Visualizing memory layout of Rust's data types [See description/first comment]

Visualizing memory layout of Rust's data types [See description/first comment]

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]