Introduction to Programming with Python: Import Statements and __name__

Опубликовано: 03 Август 2022
на канале: Gina Sprint
264
5

This video provides an introduction to how to run Python files (modules) and how import statements work. Specifically, it covers:
-Running a Python module directly versus indirectly
-How the if _name_ == "__main__": code works and why programmers use it in their .py files
-Multiple Python files in a project (using utility Python modules and organizing them into subfolders)
-Different variations of import statements, like using from and as

This video is the sixteenth video in a multi-part series on getting started with the Python programming language. Next video in the series on lambda functions and map, filter, reduce:    • Introduction to Programming with Pyth...  

Source code on Github: https://github.com/gsprint23/Python-D...


Смотрите видео Introduction to Programming with Python: Import Statements and __name__ онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Gina Sprint 03 Август 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 264 раз и оно понравилось 5 людям.