Back to Library
Cover of Vol 2, Issue 8

Python Magazine

Vol 2, Issue 8

July 2008

Articles
8

Behind the Scenes at utilitymill.com

by Greg Pinero

In this article, Greg introduces a tool he has developed that helps you get your Python code onto the web fast. He explains how to leverage utilitymill.com to create web utilities without leaving the comfort of your browser.

Drawing Presentable Trees

by Bill Mill

Laying out diagrams of trees in an efficient manner is a surprisingly difficult problem. This article presents a summary and implementation of the work that's been done to make it possible.

Using Dependency Injection in Python

by Juri Pakaste

How do you create your objects and how do they acquire the objects they depend on? That is not a complicated question, but there have been many approaches to solving it over the years. Most are ad-hoc and not very systematic. Dependency Injection is a simple way to create interdependent objects that results in flexible code.

Advanced Pyparsing: Implementing a JSON Parser Using Results Names

by Paul McGuire

Is XML always the best choice for data representation? Maybe not. XML can incur substantial overhead, especially when representing data with deep structure. JSON is a handy alternative to XML for lightweight representation of hierarchical data. It has been most recently popularized by its role in data transfer for AJAX-based web sites and applications. Plus, parsing JSON data with Python is a breeze using pyparsing!

Import This: Community Participation

Column

by Doug Hellmann

Our authors are having an impact through their participation in the global Python community, and we couldn't be more proud to support them.

Welcome to Python: GUI Programming using WxWidgets and WxPython

Column

by Mark Mruss

wxWidgets is a cross-platform widget toolkit written in C++. wxPython is a Python module that wraps wxWidgets and allows you to write cross-platform graphical applications easily in Python. This article will introduce you to the basic functionality of wxPython by walking you through the creation of a simple application.

And Now For Something Completely Different: A (brief) introduction to Python-Core development

Column

by Jesse Noller

In the early summer of this year I had the chance to really get started working on/with the core Python source. I had spent some time putting together a Python Enhancement Proposal (PEP) which was accepted. Now, I just needed to learn the code base, practices and buy a helmet. Shortly after getting the initial patch accepted, I ended up breaking the build, tests and caused the beta to slip. This article is an introduction to Core development, in which we'll cover what you need to get started, and where I personally screwed up.

Random Hits: Foundation, Not Empire

Column

by Steve Holden

Steve gives you some information about the body responsible for maintaining the intellectual property vested in the Python language.

Our Partners

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

Interested in partnering? Get in touch →