Iterators - with and without Itertools
- Advantages of iterators and generators
- The Fibonacci research institute
- Fibonacci plain
- Fibonacci copy-paste
- Iterators Glossary
- What are iterators and iterables?
- A file-handle is an iterator
- range is iterable but it is not an iterator
- Iterator: a counter
- Using iterator
- Iterator without temporary variable
- The type of the iterator
- Using iterator with next
- Mixing for and next
- Iterable which is not an iterator
- Iterator returning multiple values
- Range-like iterator
- Unbound or infinite iterator
- Unbound iterator Fibonacci
- Operations on Unbound iterator
- itertools
- itertools - count
- itertools - cycle
- Exercise: iterators - reimplement the range function
- Exercise: iterators - cycle
- Exercise: iterators - alter
- Exercise: iterators - limit Fibonacci
- Exercise: iterators - Fibonacci less memory
- Exercise: read char
- Exercise: read section
- Exercise: collect packets
- Exercise: compare files
- Solution: iterators - limit Fibonacci
- Solution: iterators - Fibonacci less memory
- Solution: read section
- Solution: compare files
- Solution: collect packets