I got trapped by a lambda function in Python

I consider myself a medium-to-experienced Python programmer (I am using python for 6 years). Today I’ve lost almos one hour in a very stupid bug with lambda functions. See what happend: Read more

Similar

Fun with Markov Chains, Python, and Twilio SMS

One of the many allures of Twitter is that you can tweet at your favorite celebrity and (maybe) get a response. Still though, tweeting isn’t quite as intimate as trading text messages. So we thought it’d be fun to use Markov Chains, Programmable SMS, and ... (more…)

Read more »

The Incredible Growth of Python

We recently explored how wealthy countries (those defined as high-income by the World Bank) tend to visit a different set of technologies than the rest of the world. Among the largest differences we saw was in the programming language Python. When we focu... (more…)

Read more »

A Review of Learn Python the Hard Way, 3rd Ed

As a break from usual, I thought I would review Zed Shaw’s Learn Python the Hard Way. I’ve had several beginners to programming ask me what they should use to learn and Shaw’s book frequently comes up. I’ve looked over his materials before when they were ... (more…)

Read more »