Back to Library
Cover of Vol 2, Issue 7

Python Magazine

Vol 2, Issue 7

June 2008

Articles
9

Action and Elegance through Kinetic Style Sheets

by Brandon Craig Rhodes

Do your web applications yearn for snappy AJAX features, but you lack the time or expertise to write all of the necessary JavaScript? Do you groan at having to plan every detail of how your web application delivers data back to the server? Then dread no more: the dynamic web has arrived for everyone who wants JavaScript to stay under the hood, where it belongs. KSS is a JavaScript engine that interprets files full of CSS-like instructions that can launch both client-side and server-side actions in response to the user's typing and clicks.

Metaclasses Demystified

by Jonathan LaCour

The word metaclass often strikes fear into the hearts of Python programmers. This article explores metaclasses in an approachable way, in order to eliminate the mystery and enable you to leverage metaprogramming techniques to solve real problems.

Learning Python with PyGame: A Simple Game of Cat & Mouse

by Terry Hancock

In the first two articles in this series, we developed some basic programming skills and the basics of interacting with PyGame. Now it's time to turn the program into a real game using PyGame's sprite library.

A Python Game Programming Week

by Richard Jones

Is writing a game one of those things on your big TODO list? Ever wondered what it'd be like to create a game? The PyWeek challenge might be the answer. This article covers what the challenge is, who enters, what it's like to take part, and where it's going.

Threaded Comments For Your Site

by Eric Florenzano

It's a common problem these days: you have some great content and you want equally great conversations to form around that content. You decide that you would like to add threaded comments onto the content, but how should you do it? This article introduces django-threadedcomments, a simple yet flexible threaded commenting system for Django-based websites.

Import This: Looking Ahead

Column

by Doug Hellmann

When the editorial duties at a magazine change hands from one person to another, the event is all too often seen as the "end of an era"—but we prefer to think of it as the beginning of a new one.

Welcome to Python: Introducing Sets

Column

by Mark Mruss

Python 2.4 introduced a new data-type to Python: the set type. This article introduces the set type by first explaining what a set is, and then exploring many of the available operations.

And Now For Something Completely Different: Get with the program as contextmanager

Column

by Jesse Noller

One of the cooler features that came with Python 2.5's release is the 'with' statement and the context manager protocol behind it.

Random Hits: People or Technology?

Column

by Steve Holden

This month Steve wonders whether scientists and technologists should be exercising a broader social responsibility, gives encouragement on writing, and takes a look at the processing module. “A bit of a column, or a column of bits”.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →