HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Generators in Python - Advanced Python 14 - Programming Tutorial

29,871 views October 29, 2019 18:12

Watch on YouTube
ChannelPython Engineer

Description from the creator

Generators in Python - Advanced Python 14 - Programming Tutorial

In this Python Advanced Tutorial, we will be learning about Generators in Python. Generators are functions that return an object that can be iterated over. The special thing is that they generate the items inside the object lazily, which means they generate the items only one at a time, and only when you ask for it. Because of this they are much more memory efficient than other sequence objects when you have to deal with large datasets. In this video, we will learn how generators are implemented, the concept behind them, and we will have a look at the advantages and some examples.

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: sourcery.ai/?utm_source=youtube&utm_campaig… *

📚 Get my FREE NumPy Handbook:
python-engineer.com/numpybook

📓 Notebooks available on Patreon:
patreon.com/patrickloeber

⭐ Join Our Discord : discord.gg/FHMg9tKFSN

A written Tutorial can be found here:
python-engineer.com/courses/advancedpython/14-g…

You can find me here:
Website: python-engineer.com
Twitter: twitter.com/patloeber
GitHub: github.com/patrickloeber

#Python

----------------------------------------------------------------------------------------------------------
* This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏

About this tutorial

Python Engineer published this 18:12 video tutorial on October 29, 2019. It has been watched 29,871 times on YouTube.

Category
Education
Duration
18:12
Published
October 29, 2019
Views
29,871
Likes
510

Tags

Share

This tutorial in other languages