Explore >> Select a destination


You are here

www.trickster.dev
| | initialcommit.com
1.6 parsecs away

Travel
| | In this article, we discuss the differences between yield and return in Python.
| | www.learnpython.dev
4.0 parsecs away

Travel
| | Free Learn Python Course by Nina Zakharenko - An intensive two day introduction and intermediate course on Python. Video course published on Frontend Masters.
| | will-keleher.com
5.1 parsecs away

Travel
| | Understanding why `zip(*[iter(s)]*n)` chunks an input `s` into `n` chunks is a good excuse to explore iterators, iterable unpacking, list multiplication, and the zip function.
| | www.integralist.co.uk
13.9 parsecs away

Travel
| In this post I'm going to be talking about what a generator is and how it compares to a coroutine, but to understand these two concepts (generators and coroutines) we'll need to take a step back and understand the underlying concept of an Iterator. We ultimately we'll be discussing... Iterators Why use Iterators? Iterator Implementation Iterator Example Generators Why use Generators? Generator Implementation Generator Example Generator Expressions Nested Generators (i.e. yield from) Coroutines Why use Co...