Today I learned something interesting about the way Python functions behave with default parameter values: avoid using mutable objects such as lists as default values for function parameters. What's the problem? Default parameter values are evaluated when function is evaluated. Which means ...
Archives for April 2017
Adafruit Joy Bonnet for the Raspberry Pi
At long last, I finally completed a project with the Raspberry Pi Zero. I bought one several months ago, but it just collected dust in my office. Adafruit recently released a little bonnet for the Pi Zero with hand-held arcade controls. It fits perfectly on top of the Pi Zero. Purchasing the ...