Simon Willison’s Weblog

Subscribe
Atom feed for python

1,155 posts tagged “python”

The Python programming language.

2006

Fun with ctypes

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

[... 86 words]

Introducing WSGI: Python’s Secret Web Weapon. Every Python web developer should understand WSGI.

# 28th September 2006, 2:24 pm / python, wsgi

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]

The Screening Room #8: IronPython. Screamingly cool demo, with commentary from Jim Hugunin and Jon Udell.

# 1st September 2006, 12:51 am / jon-udell, ironpython, python

The Screening Room #8: IronPython. Screamingly cool demo, with commentary from Jim Hugunin and Jon Udell.

# 1st September 2006, 12:51 am / jon-udell, ironpython, python

YDN Python Developer Center. Launched today: tips and tutorials on accessing Yahoo! Web services from Python.

# 8th August 2006, 8:57 pm / yahoo, ydn, python

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]

WPHP. Run PHP under your Python WSGI app. Not nearly as crazy as it sounds.

# 27th July 2006, 11:01 pm / wsgi, python, php

Python Web Developer Appliance. A VMWare virtual machine with Python web developer frameworks pre-installed for you.

# 29th June 2006, 6:58 pm / python

Solving Every Sudoku Puzzle. 100 lines of Python illustrating some key concepts in AI.

# 22nd June 2006, 10:46 am / peter-norvig, ai, python

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]

2005

Things I learned at EuroOSCON

Last week was the first ever O’Reilly European Open Source Convention, held in the magnificent NH Grand Hotel Krasnapolsky in Amsterdam. It was the first big budget conference I’d been too (previously I’ve stuck to less expensive affairs such as SxSW Interactive and PyCon) but the money seems to have been well spent. The venue was fantastic and there was a great line-up of speakers, keynotes and panels.

[... 878 words]

Python programming job at Columbia University. Ignore the jargon—a little birdie tells me this is a Python job.

# 17th June 2005, 11 pm / python

[pypy-dev] PyPy released! A full Python implementation written in Python.

# 25th May 2005, 12:52 pm / python, pypy

lxml (via) A Pythonic wrapper for libxml2.

# 13th April 2005, 5:04 pm / libxml2, python, xml

Stricter Whitespace Enforcement. Finally! Guido tightens the rules on whitespace.

# 1st April 2005, 2:23 pm / guido-van-rossum, python

scrape.py. A clever Python screen-scraping module, with similarities to WWW::Mechanize.

# 25th March 2005, 5:09 am / scraping, python

2004

Python Grimoire. How to perform common tasks in Python.

# 23rd December 2004, 2:05 am / python

Python Parsing Tools (via) Ned’s compilation of Python parsing libraries.

# 30th November 2004, 2:53 pm / python, ned-batchelder

Python Memory Management (via) It’s not quite as straight forward as you might have thought.

# 8th November 2004, 12:43 pm / python

Cache decorator in Python 2.4 (via) Nothing like a good example to understand why decorators are a cool language feature.

# 1st November 2004, 1:15 pm / python

Running Pydoc under mod_python

I’ve written about pydoc before. In my opinion it’s one of Python’s best kept secrets: a way of instantly browsing the properties, methods and documentation strings of any module available to the Python environment. It can even run a local HTTP server to allow for easy browsing of available documentation.

[... 372 words]

Python in Air Traffic Control (via) Python goes mission critical.

# 18th August 2004, 6:13 am / python

Python will assimilate you (via) “From the wind-up school of technology strategizing”

# 8th August 2004, 6:49 pm / python