Inexact Number Comparisons in Python

Web development with Python, Django, Flask, SQLAlchemy, Vue.js, and reluctantly Node + React. Read more

Similar

Why Python [1999] by ESR

My first look at Python was an accident, and I didn't much like what I saw at the time. It was early 1997, and Mark Lutz's book Programming Python from O'Reilly & Associates had recently come out. (more…)

Read more »

The Walrus-While Python Pattern

Suppose you are reading from an unbounded data source in increments of a certain size. This is a common sort of situation; for example, reading lines from stdin. The total length of the data source is not known in advance, so the only thing to do is keep ... (more…)

Read more »