Mike

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 »

Python Partials

Python comes with a fun module called functools. One of its classes is the partial class. You can use it create a new function with partial application of the arguments and keywords that you pass to it. You can use partial to “freeze” a portion of your function’s arguments and/or keywords which results in a

Python Partials Read More »

PyDevs of the Week: Felix Zumstein & Eric Reynolds

This week we’re doing something a little different. Instead of just one developer, I am interviewing the main developers behind xlwings: Felix Zumstein & Eric Reynolds. Let’s spend some time getting to know our fellow Pythonistas! Can you tell us a little about yourself (hobbies, education, etc): Felix: I am the founder of Zoomer Analytics,

PyDevs of the Week: Felix Zumstein & Eric Reynolds Read More »