Introducing Docstrings

Friday, January 8th, 2010

Tweet By: Mark Mruss Note: This article was first published the February 2008 issue of Python Magazine Of all the tasks assigned to programmers, commenting code and writing documentation are among the most disliked. This article introduces you to Python’s documentation strings. While they won’t make commenting your code any more enjoyable, they will provide […]

Operator Overload! Learn how to change the behavior of equality operators.

Saturday, June 21st, 2008

Tweet By: Mark Mruss Note: This article was first published the November 2007 issue of Python Magazine While the equality operator works great on numbers and strings the fact the way it treats your custom objects really is not that useful. This article looks into overloading the equality operator so that you can easily compare […]