The Teclado Blog

Python's divmod Function

Learn all about Python's divmod function, which allows us to easily perform floor division and modulo operations in one go!

Decimal vs float in Python

When working with fractions in Python, we tend to use floats, but we also have the decimal module. Learn how to use it, and its benefits over floats.

Python's format Function

You may be familiar with Python's format method, but what about the format function? Learn to use Python's formatting language without string interpolation!

How to interact with REST APIs from JavaScript

Learn how to use JavaScript to interact with your REST APIs, using XMLHttpRequest and also fetch.

Python's Partition Method for Strings

In this post we cover a lesser known string method called partition. It has a lot of similarities to split, but there are some interesting differences.

The Teclado Blog © 2026