The Teclado Blog

Creating a New Sequence Type in Python - Part 2

In this post we continue our journey to master Python's dunder methods by creating a new sequence type from scratch.

More Uses for Else in Python

Get familiar with the different uses for else in Python. It's not just for if statements: we can use it with loops, and for error handling too!

Creating a New Sequence Type in Python - Part 1

Learn to exploit the power of Python's magic methods by creating a new sequence type from scratch!

Python Slices Part 2: The Deep Cut

In this post we take a deeper dive into Python slices, and pull back the curtain on the magic methods behind the slice notation we covered in earlier posts.

Python Slices

Slices are amazing whenever you want to use a piece of a larger sequence. Learn the basics of slicing in Python and add a powerful tool to your repertoire.

The Teclado Blog © 2026