Generators in Python || Python Tutorial || Learn Python Programming

Learn how to use generators in Python. We'll cover two types: Generator Functions and Generator Expressions. Generator functions use the "yield" keyword, while generator expressions look like a "tuple comprehension." Generators are a powerful and efficient tool for use when looping over large amounts of data.

We were able to bring you this video thanks to our generous Kickstarter backers! Find their names hidden (okay, not very hidden) in the video!

Socratica Friends, we have a quiet little email group for Python if you'd like to receive updates (can't count on YT for notifications). Sign up here:

Subscribe to Socratica + bell for notifications:

Find our programming playlists here:
Python programming:
SQL programming:

We recommend:
How to Be a Great Student
Kindle Unlimited (read free):

Python Cookbook, 3rd edition

The Mythical Man Month - Essays on Software Engineering & Project Management

Shop Amazon Used Textbooks - Save up to 90%

Join this channel to get access to perks:

Support Socratica on Patreon:

Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison

#Python #Generators #Coding
Be the first to comment