Python Iterators: A Step-By-Step Introduction

Understanding iterators is a milestone for any serious Pythonista. With this step-by-step tutorial you’ll understanding class-based iterators in Python, completely from scratch.
Read more

Similar

Python Anti-Pattern

I was writing a lambda function which, among other things, was supposed to read a csv file from S3, perform some validation on every row, then use boto3 to perform an S3 multipart upload. I created a wrapper class around the multipart upload functionality... (more…)

Read more »