У нас вы можете посмотреть бесплатно A Walrus Meets a Python - What is the := Walrus Operator? или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Have you heard about the walrus operator ( := ) but haven't found a great use for it in Python? This video highlights 4 amazing uses of the walrus operator, some of which you might not have seen before. ▬ Chapters ▬▬▬▬▬▬▬▬▬▬▬▬ 0:00 - Introduction 0:55 - 1st Example: Walrus operator for an if statement 3:27 - 2nd Example: Multi variable regular expression test 6:13 - 3rd Example: Walruses in list comprehensions 9:47 - 4th Example: Walruses in loops 11:50 - 5th Example: Capturing values with walruses 15:50 - Thanks and bye ▬ Code from this video ▬▬▬▬▬▬▬▬▬▬▬▬ The code shown in the video is hosted on GitHub here: https://github.com/mikeckennedy/pytho... ▬ More Videos ▬▬▬▬▬▬▬▬▬▬▬▬ Subscribe and get more videos by me at @mikeckennedy to see all the topics I've covered. ▬ Talk Python Courses ▬▬▬▬▬▬▬▬▬▬▬▬ If you're looking to take any of our full length courses, just visit https://training.talkpython.fm/courses You can even play with the final search over there on the live website. ▬ Dive deeper ▬▬▬▬▬▬▬▬▬▬▬▬ Listen to the Talk Python To Me podcast at https://talkpython.fm Check out our 100's of hours of Python courses at https://training.talkpython.fm/courses Follow Michael on Twitter at / mkennedy