ANN: Python 201 Book Kickstarter

I am happy to announce my latest project, which is the sequel to my Python 101 book: Python 201 – Intermediate Python. I am launching a Kickstarter campaign to help fund its publication so if you’re interested in supporting, you can do so here: https://www.kickstarter.com/projects/34257246/python-201-intermediate-python If you already know the basics of Python and now

ANN: Python 201 Book Kickstarter Read More »

Python 3 – Function Overloading with singledispatch

Python fairly recently added partial support for function overloading in Python 3.4. They did this by adding a neat little decorator to the functools module called singledispatch. This decorator will transform your regular function into a single dispatch generic function. Note however that singledispatch only happens based on the first argument’s type. Let’s take a

Python 3 – Function Overloading with singledispatch Read More »