Thursday, December 30, 2004

Perforce does Python

At work, we're switching source control systems; we've settled on Perforce. I used Perforce years ago at a now-dead dot-com, but it's been a while, so I started reading the online docs to refresh my memory before the rollout. I was pleasantly surprised to find this in the standard client's command-line options:
-G: Causes all output (and batch input for form commands with (-i) to be formatted as marshalled Python dictionary objects. This is most often used when scripting.

Of course, I'm not the first blogger to write about it, and it looks as if there are a number of people using Perforce with Python scripts.

I've always been impressed with Perforce-the-company--they were pretty cool to deal with when we needed assistance, and they've done some very non-evil things for the programming community (including providing no-cost licenses for open source projects and open-sourcing their own Jam build tool). A little digging reveals they also sponsored PyCon in the past.

I'm glad to be supporting a company like this one.

1 comment:

Anonymous said...

That is so great!
It's also possible to run python in parallel on SMP: Parallel Python