Recently, I was refactoring a portion of a Python function that somewhat looked like this: (more…)
Read more »
Performance of Python programs has been a major focus of development for the language over the [...]... (more…)
Read more »
In this tutorial, we will create a Python application that can be installed directly from pip that will show the 10 latest blog posts from this website (the one you are reading this on!). If you just want to avoid all of this hard work and publish a pytho... (more…)
Read more »
I have become quite a fan of Python's built-in namedtuple collection lately. As others have already written, despite having been available in Python 2.x and 3.x for a long time now, namedtuple continues to be under-appreciated and under-utilised by many p... (more…)
Read more »
A minimal implementation of autograd (in pure Python) 🍰 - kennysong/minigrad... (more…)
Read more »