Category Archives: Python

Half a bee

When you’re writing Python tutorials, you have to use Monty Python references. It’s the law. On the 40th anniversary of the release of Monty Python’s Life of Brian, I wanted to share this example that I made for collections.defaultdict that … Continue reading

Posted in Python | Leave a comment

Pythonicity

The same community that says: There should be one– and preferably only one –obvious way to do it. Also says: So essentially when someone says something is unpythonic, they are saying that the code could be re-written in a way … Continue reading

Posted in Python | Leave a comment