The Teclado Blog

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

In this post we finish off our Snake game using Tkinter's Canvas widget. Learn how to move objects on the Canvas, delete them, or add more.

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.

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