Introducing Descriptors and Properties

Sunday, April 25th, 2010

Note: This article was first published the May 2008 issue of Python Magazine Introducing Descriptors and Properties Mark Mruss New-style classes were introduced to Python with the release of Python 2.2. And with these new-style classes came descriptors and properties. This article will introduce the descriptor protocol, descriptors, and properties. Introduction New-style classes were introduced [...]

AVC: Simplifying your GUI Code

Sunday, March 14th, 2010

Note: This article was first published the April 2008 issue of Python Magazine By: Mark Mruss GUI programming, like many other types of programming, can sometimes prove exhausting because you must repeat yourself over and over again. AVC is one tool available to Python GUI programmers that attempts to simplify things by synchronizing application data [...]

An Introduction to Google Calendars

Saturday, February 27th, 2010

Note: This article was first published the March 2008 issue of Python Magazine Mark Mruss Over the past few years Google has expanded it’s services beyond those of a normal search engine. One of those new services is the Google Calendar. This article will provide an introduction to working with the Google Calendar using Python. [...]

Introducing Docstrings

Friday, January 8th, 2010

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 a [...]

Iterators, Iterables, and Generators! Oh, my!

Monday, February 23rd, 2009

By: Mark Mruss Note: This article was first published the January 2008 issue of Python Magazine Iterators, iterables, and generators are features handled so wall by Python that people programming in other languages cannot help but drool over. Fortunately for us, creating iterators, iterables and generators is a relatively simple task. This article introduces the [...]