The Teclado Blog

Generating a Collection of Random Numbers in Python

In this post we learn about choices and sample: two useful functions in the random module used for generating collections of random values.

Handling the next URL when logging in with Flask

Learn how to redirect users to their intended destination after logging in, instead of a default "profile" page every time. Simple, but can have a big impact in user experience!

Updating Python Dictionaries

In this snippet post we look at the update method for dictionaries. We can use update to change several values at once or extend dictionaries with new keys.

Side values in Tkinter's pack geometry manager

This week we continue our journey into GUI development with Tkinter, and explore how to use the side configuration option in the pack geometry manager.

Extending Python Lists

In this week's Python snippet post we look at the extend method for lists. Extend works a lot like append, but allows us to append many values at once.

The Teclado Blog © 2026