The Teclado Blog

Rounding in Python

Take a deep dive into Python's rounding functions! Learn about floor, ceil, trunc, and round, and avoid common rounding errors in Python.

Python's modulo operator and floor division

Learn about the some less well-known operators in Python: modulo and floor division—as well as how they interact with each other and how they're related!

Logical comparisons in Python: and & or

Python's and and or keywords can be confusing for beginner programmers, but also for programmers coming from other programming languages. That's because in Python, these operators can behave differently than in other languages! Traditionally, and and or are used to compare true and false values. We do this in English

Why does scraping fail with requests and BeautifulSoup?

Do you have scraping code which works in some websites but not others, even though you're sure the method you're using to get data out of the site is correct? JavaScript could be the problem!

Student stories: Programming with Pinstripes

Teclado student Chris Nyland shares his experiences working a full-time legal job while learning programming on the said, developing tools to help said job!

The Teclado Blog © 2026