Simon Willison’s Weblog

Subscribe

Items tagged python in 2006

Filters: Year: 2006 × python × Sorted by date


killableprocess.py. “I have created a python module which can launch a subprocess, wait for the process with a timeout, and kill that process and all of its sub-subprocesses correctly, on Windows, Mac, and Linux.” # 23rd December 2006, 12:23 am

html5lib (via) A python library for working with HTML5 documents. # 22nd December 2006, 11:58 pm

The Daily Python-URL. Python’s number one news source, now powered by Django. # 22nd December 2006, 11:39 pm

__builtins__ usage. Avoid using __builtins__ if you want your code to be compatible with IronPython. # 18th December 2006, 3:22 pm

Meta-classes Made Easy. Fuzzyman introduces a metaclass factory for applying a decorator to every method of a class. # 17th December 2006, 12:42 am

SubWiki (via) A wiki that uses Subversion for its data repository, implemented as a Python CGI. # 16th December 2006, 7:19 pm

Dependency injection is the enterprisey name for trampling over namespaces with reckless abandon.

Ted Dziuba # 16th December 2006, 1:05 am

[Python-3000] Refactoring tool available. Guido’s initial work on a tool for converting Python 2.x code to Python 3K. # 15th December 2006, 2:19 pm

Statement Functions. Smart workaround for the lack of multi-line lambdas in Python. # 12th December 2006, 7:08 pm

100% Python SCGI implementation. SCGI is like FastCGI but simpler. # 12th December 2006, 1:37 pm

python-cluster. Fantastic interface design—pass a list and a function and you’re done. # 7th December 2006, 5:19 pm

Incompatible SQLite in OS X and Python. I’ve hit this problem; James has the solution. # 28th November 2006, 5:40 pm

Fun with ctypes

This probably only works on Intel-based OS X machines:

[... 86 words]

What I’m excited about, post-conference edition

Wow, I’ve had a really busy month. I’ve attended (and spoken at) BarCamp London, Media in Transition, d.Construct, RailsConf Europe, Euro Foo and EuroOSCON. All were excellent, and each one nicely complemented the others. I’m exhausted. I think my brain is full.

[... 377 words]

HOWTO: Adding an RSS feed to a Subversion Server. Using post-commit hooks and some Python. # 17th August 2006, 11:17 pm

YDN Python Developer Center. Launched today: tips and tutorials on accessing Yahoo! Web services from Python. # 8th August 2006, 8:57 pm

The YDN Python Developer Center

I recently had the opportunity to put together the Python Developer Center for the Yahoo! Developer Network. YDN is one of my favourite parts of Yahoo! so I jumped at the chance, and the resulting mini-site is now online (YDN blog post here).

[... 235 words]

Exciting stuff in Python 2.5

Python 2.5 alpha 1 is out, and as usual the What’s New in Python 2.5 document provides a pleasant overview of the new features. There are some real treats in there. While I’m hoping that the syntax for conditional expressions will grow on me, I’m looking forward to Partial function application becoming a common Python idiom. Relative imports are going to make Django applications a lot easier to redistribute, and I can’t wait to see all the crazy hacks that result from the introduction of coroutines.

[... 291 words]