У нас вы можете посмотреть бесплатно What are SCOPES and NAMESPACES in Python? или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Scope is all about the location and the scale of things and their life span. And namespaces are the mechanism to achieve this in Python. In this tutorial you learn how scopes an namespaces work, how variables are resolved, how to make namespaces and why the global and nonlocal keywords can be dangerous. C H A P T E R S 0:25 Scopes v.s. Namespaces 0:45 Global scope 2:15 Function scope 2:50 Python name resolving 3:30 Built-in scope 4:50 Namespace with modules 6:35 Enclosing namespace 8:24 Modify out of scope 10:25 Global and nonlocal cause side effects M Y O N L I N E T R A I N I N G 🎓Do you like my style of teaching? Try free chapters of my online courses: https://pythonforeveryone.com #closure #scope #namespace