Posts for Python

My PyOhio presentation is online now… - 2009 September 02

My friend—Tim—and I gave a presentation at PyOhio on unit testing frameworks for Python. I’ve had the the slides and source on my Presentations page since we gave the talk, ...

Released a new Trac plugin… - 2009 August 25

At my workplace, we like to follow an Agile development methodology called Scrum. Turns out there is a bit of an issue… most issue trackers don’t allow us to organize ...

Ned Batchelder’s slides on code coverage… - 2009 June 18

This is one of the talks that was presented at PyCon 2009. Ned walks you through examining how much code your unit tests actually cover. As we become more “testing ...

Test run using Mach-based sempahores in Python on Mac OS X - 2009 June 13

Just did a quick hack to make Python use native Mach semaphores for the GIL instead of the mutex/condition variable pair, and got sizable speed up (13%) on David Beazley’s ...

David Beazley’s Slides from his ChiPy GIL Talk… - 2009 June 12

Got this via Twitter: http://www.dabeaz.com/python/GIL.pdf Man, there is some good stuff in there. Thanks David. While you’re there, check out PLY. See the talk up on blip.tv.

Another great article in Python Magazine… - 2009 June 12

Another great article appeared in the April issue of Python Magazine. This time it was written by Paul McGuire, author of pyparsing. The article is called Create your own Domain ...

Python search library… - 2009 May 21

I was browsing some announcements, and through a series of clicks, ran across Whoosh. Lucene is pretty recognized in the Java world as very flexible indexing and search framework. Whoosh ...

argparse - 2009 March 30

Lightning talks are great. They communicate a tremendous amount of information in a short period of time, which is like candy for our brains. One such talk was on a module ...

Class Decorators… - 2009 March 30

I’m having a great time here at PyCon. Lots of good information all over the place, which is awesome. Add to it the friendliness of everyone, and you really have ...

PyCon 2009 - 2009 March 02

Just a reminder that PyCon 2009 is just around the corner: March 27-29 in Chicago. Last year’s PyCon was a blast, and I expect that it’ll be this year too ...

Review Board and Djblets… - 2009 February 20

I’ve been looking a lot lately at getting a tool together that allows developers to easily set their projects up and encourages a good workflow without being forced into a ...

Python 3.0 is here! - 2008 December 04

This has been a long time in the making. We should pause for a minute and think about what just happened. It’s not often that a language choses to break backwards ...

Someone beat me to the punch… - 2008 November 25

So, I started sending emails out announcing my intention to start a group… and it turns out that a Python Users Group just started down in Greenbelt called BACON-PIG. Looks ...

Starting a Python Users Group - 2008 November 25

So, I’ve always been jealous of ChiPy and BayPIGgies, and their endless stream of awesome Python talks. My first reaction was to move. :-) But that isn’t going to work ...

The latest edition of Python Magazine - 2008 November 25

So a little ways back I subscribed to Python Magazine, because I wanted to support the language. I didn’t really expect to learn much after having spent 6 years working ...

Have an error-handling strategy… - 2008 November 24

Seems like more and more I’m finding applications that have little or no error handling strategy, which is a real shame. The job the application is performing is important to ...

Threads are Evil! - 2008 November 15

Myself and others have been talking about the problem that is threads quite a bit lately, and how bad they are as a tool for concurrency. What I didn’t realize ...

Article on Embedding Python… - 2008 November 11

I’ve been spending a lot of time lately on the Python Wiki trying to figure out if there is material, advice, basically anything that could help me start a Python ...

The new comments framework in Django… - 2008 September 24

I’ve been trying to get my head wrapped around how the new comments framework is supposed to work in Django. Turns out, there are a number of interesting issues. Errors are ...

Writing reusable Django applications - 2008 September 23

I was browsing around this morning catching up on a few things and ran across James Bennett’s presentation at DjangoCon on writing reusable applications. Very nice! A video of the ...

Installing Python modules to your home folder on a Mac - 2008 March 27

It turns out that by default, on Leopard, Python 2.5 looks at ~/Library/Python/2.5/site-packages for Python modules. The problem is that nothing installs there by default. However, distutils (and setuptools) will ...

Going to PyCon 2008! - 2008 January 25

I’m very excited to be attending this year. I wanted to attend the last couple of years, but had some family matters to attend to. I’m hoping to learn a ...

Where interfaces fall down… - 2007 November 16

A few of us at work are working on a fairly sizable equipment control application. Because various pieces of the equipment are pluggable and a single piece of equipment can ...

A dashboard for Trac… - 2006 November 28

Some of the issues that I constantly face is the question of where a project is at, how the project is doing overall, and whether or not the employees are ...

Graphing revision trees… - 2006 November 13

One of the things I miss most about CVS is knowing the full history of a file.  By that, I mean being able to use cvsgraph to map out where ...

Slow build times with SCons? - 2006 October 14

I’m a big fan of SCons… mainly because it’s based on Python, and that allows me to handle a number of weird cases that I must deal with (everything from ...

Django: The Python Web Framework? - 2006 August 23

I’ve been reading some posts about Guido’s pronouncement that Django is the Python Web Framework to use at SciPy ‘06. I’m not sure that’s really good for the community, and ...

Need to write a daemon in Python? - 2006 August 23

Then you need to check out this link: http://mail.python.org/pipermail/python-list/2001-February/071414.html. It incorporates creating a pid file, controlling the daemon (start, and stop), and doing the work of actually daemonizing and installing ...

Testing Python 2.5! - 2006 July 21

It amazes me how much Python keeps improving as a language. I’m continually impressed by the community, and their desire to implement an enhancement to the language in a well ...

Python’s FFI: ctypes - 2006 July 06

Slated for inclusion in Python 2.5, ctypes offers a foreign function interface (FFI) for bring shared libraries in, and wrapping them up so that you can access them through Python. ...

Metaclass programming and testing - 2006 May 09

In recent months, I’ve decided to really dig into Python and learn the language. This is unusual in that I spend my day generally coding in C for embedded microcontrollers ...

Python is Great! - 2006 April 22

I’ve been meaning to set up this blog for quite some time, and finally got around to it one morning at 2AM. :-) I figured I’d start things off right ...