Python Articles, Tutorials & News

Making a faster Avro Python library with eval

I work on astronomical data pipelines, and a lot of our data gets shipped around in Avro. It’s often a lot of data, like many terabytes, and with complex schemas. And because I’m working on astronomy software, nearly everything is written in Python, the l…

Read more »

The Art of Writing Loops in Python

The for loop is a very basic control flow tool of most programming languages. For example, a simple for loop in C looks like the following: There are no other ways to write a for loop more elegantly…

Read more »

Python and Me, or When in Rome

I’ve written in the past somewhat opaquely about certain programming languages and my complaints about them. One that I’m not afraid to complain about by name is Python. You can look in enough of my old posts to see this pattern keeps coming up. It…

Read more »

Python Workout

The only way to master a skill is to practice. In Python Workout</i>, author Reuven M. Lerner</b> guides you through 50 carefully selected exercises that invite you to flex your programming muscles. As you take on each new challenge, you’ll bu…

Read more »

Python and Me, or When in Rome

I’ve written in the past somewhat opaquely about certain programming languages and my complaints about them. One that I’m not afraid to complain about by name is Python. You can look in enough of my old posts to see this pattern keeps coming up. It…

Read more »