Skip to content
0:00 / 0:00

#iterators#generators#loops

Loop like a native: while, for, iterators, generators

Next Day Video

68K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 curated list.
  • Presented by Ned Batchelder

Intermediate. Assumes working knowledge.

123K views13 years ago2 recommendations

Programming languagesPython

Ned Batchelder explains Python's iteration protocols, showing how to use iterators and generators to write cleaner, more idiomatic code.

Ned Batchelder Python provides powerful primitives for iterating over your data in ways that let you express yourself clearly and directly. But even programmers familiar with the tools don't use them as fully as they could. This talk will cover Pyt

Why it's here

2 people recommend this

What people say. Recommended as an excellent guide to mastering Python's iteration model and writing idiomatic loops.

programming-talkscurated list on GitHubRecommends

Under “Python”

Loop like a native: while, for, iterators, generators 00:29:15 by **Ned Batchelder** (2013)

tfon Lobsters • Recommends

Loop like a native: while, for, iterators, generators