Archive for June, 2008

Level Editor 0.3 (Dodger)

Sunday, June 22nd, 2008

Share
I know it’s been a while and for that I apologize the last few months have been pretty crazy around here…although I’m starting to see a trend with life in general lately, namely that it’s always crazy.
I’ve been busy with work, Python Magazine, my wife, trips to Dallas, and yes whenever I get a chance [...]

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

Saturday, June 21st, 2008

Share
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 your custom classes.

Introduction
Introducing [...]