Category Archives: python magazine

YAML ain’t Markup Language | Completely Different

When someone says “pick a markup language,” most people would immediately respond with “XML!”, but there’s an alternative out there. YAML is human-readable, easy to use, and overall quite fantastic. This is a reprint of an article I wrote for Python Magazine as a Completely Different column that was published in the December 2008 issue. [...]

SSH Programming with Paramiko | Completely Different

OpenSSH is the ubiquitous method of remote access for secure remote-machine login and file transfers. Many people — systems administrators, test automation engineers, web developers and others have to use and interact with it daily. Scripting SSH access and file transfers with Python can be frustrating — but the Paramiko module solves that in a [...]

A (brief) introduction to Python-Core development | Completely Different

This is a reprint of an article I wrote for Python Magazine as a Completely Different column that was published in the August 2008 issue. 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 [...]

Get with the program as contextmanager | Completely Different

One of the cooler features that came with Python 2.5′s release is the ‘with’ statement and the context manager protocol behind it. I could make the argument that these two things alone make the upgrade to Python 2.5 more than compelling for those of you trapped in the dark ages of 2.4 or worse: 2.3! [...]

An Interview With Adam Olsen, Author of Safe Threading | Completely Different

This is a reprint of an article I wrote for Python Magazine as a Completely Different column that was published in the June 2008 issue. A world without a Global Interpreter Lock (GIL) – the very thought of it makes some people very, very happy. At PyCon 2007 Guido openly stated that he would not [...]

Python Threads and the Global Interpreter Lock

There are a plethora of mechanisms and technologies surrounding concurrent programming — Python has support for many of them. In this article we will explain, examine, and benchmark Python’s threading support, and discuss the much maligned Global Interpreter Lock (GIL). This is a reprint of a featured article I wrote for Python Magazine that was [...]