April 13th, 2009 § § permalink
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. I have republished this in its original form, bugs and all
» Read the rest of this entry «
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....
February 5th, 2009 § § permalink
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 powerful way.
This is a reprint of an article I wrote for Python Magazine as a Completely Different column that was published in the October 2008 issue. I have republished this in its original form, bugs and all
» Read the rest of this entry «
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...
February 4th, 2009 § § permalink
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 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.
» Read the rest of this entry «
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...
February 3rd, 2009 § § permalink
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!
This is a reprint of an article I wrote for Python Magazine as a Completely Different column that was published in the July 2008 issue. I have republished this in its original form, bugs and all
» Read the rest of this entry «
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...
February 2nd, 2009 § § permalink
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 be against a GIL-less implementation of Python, provided someone coughed up the patch itself. Right now, that someone is Adam Olsen — an amateur programmer who has been working on a patch to the CPython interpreter since July of 2007.
It’s PyCon. I’m supposed to be listening to a talk, but I’ve fallen down the rabbit hole of a future without a global interpreter lock. I’m locked in on getting a patched version of the interpreter up and running on Mac OS/X and the patch author, Adam Olsen, is coaching me through changes to some of the deepest internals of Python itself.
» Read the rest of this entry «
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...
February 1st, 2009 § § permalink
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 published in the December 2007 issue. This article assisted in inspiring me to write PEP 371.
» Read the rest of this entry «
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...