Archive for the 'python' Category

Poll: Python Version

Thursday, March 4th, 2010

Share
With two major versions of Python available to us Python programmers (2.X and 3.X) I thought it would be interesting to see which version the readers of this blog are using and targeting.
Personally I’m still using 2.5 on my Debian box because it’s the default, and 2.6 on my Windows PC. While I [...]

An Introduction to Google Calendars

Saturday, February 27th, 2010

Share
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.
Introduction
As many of [...]

Introducing Docstrings

Friday, January 8th, 2010

Share
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 systematic [...]

Iterators, Iterables, and Generators! Oh, my!

Monday, February 23rd, 2009

Share
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 concepts of [...]

DodgerEditor 0.1a

Friday, November 14th, 2008

Share
So just to prove that I’m a masochist and that the Dodger Editor is not dead (even though I don’t think that anyone has been using it) I thought I’d post a quick update. No the editor is not dead and no neither am I.
I’m still writing for Python Magazine and working on the editor [...]

TextWidget 0.1

Sunday, September 21st, 2008

Share
It’s been a long time since I worked on TextWidget at all, but since someone posted a question about it I decided to fix the issue and re-release the source. But since I didn’t want to simply update the blog post I decided to give the project a proper home on google code: http://code.google.com/p/textwidget/
The project [...]

An Introduction to PyQt: creating GUIs with Python’s QT bindings

Saturday, September 20th, 2008

Share
By: Mark Mruss
Note: This article was first published the December 2007 issue of Python Magazine
While the command line will never cease to be useful, nothing will impress your friends more than your latest python masterpiece wrapped up in a slick cross-platform Graphical User Interface (GUI). This tutorial will show you how to create a simple [...]

Dodger Editor 0.1

Monday, August 25th, 2008

Share
So here it is the initial release of the Dodger Editor. You can download the source from the google code page. Originally I wanted to wait longer to release the first version, but as time went on and it kept taking longer and longer I realized that if I didn’t release the first version at [...]

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