Archive for the 'python' Category

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

DodgerEditor 0.1a

Friday, November 14th, 2008

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

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

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

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

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

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

Elegant XML parsing using the ElementTree Module

Wednesday, May 7th, 2008

Mark Mruss
Note: This article was first published the October 2007 issue of Python Magazine
XML is everywhere. It seems you can’t do much these days unless you utilize XML in one way or another. Fortunately, Python developers have a new tool in our standard arsenal: the ElementTree module. This article aims to introduce you to [...]

Level Editor 0.2

Tuesday, April 1st, 2008

So I had some free time since I last posted so I hacked a little bit more into my simple game editor. I’ve a few things in there that I wanted to get in:

A grid
A paint mode to easily add sprites
An erase mode so that sprites can be removed
Fully (or so it seems) working property [...]

Pyglet Level Editor

Saturday, March 22nd, 2008

Hey Everyone,
Sorry I’ve been away for a bit, work and trips and writing for Python Magazine had me pretty busy and I wasn’t able to reply to everyone’s comments on the simple Python game engine. I really do appreciate the comments though so please keep them coming.
I have been thinking about the simple game engine [...]