The Teclado Blog

Nested String Interpolation in Python

In this post we continue looking at formatting, this time exploring nested string interpolation, which we can use to dynamically set formatting options.

Creating Snake Using Tkinter's Canvas Widget (Part 1)

In this post we start work on recreating the popular arcade game, Snake, using Tkinter's versatile Canvas widget.

Formatting Numbers for Printing in Python

Learn how to leverage Python's detailed formatting language to control how numbers are displayed in your applications.

How to write decorators in Python

Decorators in Python can be a confusing topic, particularly for newer students. In this post we'll explain them from the ground up, including how they work, their syntax, and much more!

Python's "Ternary Operator"

Learn about conditional statements in Python: a slightly obscure bit of syntax that allows for succinct conditional logic, particularly during assignments.

The Teclado Blog © 2026