PyPandora is longer actively maintained. There is still some good examples in the code (async webserver using only python builtins, streaming music to an html5 app), but the Pandora functionality is deprecated. Thanks for enjoying!
PyPandora is a cross-platform Pandora Radio player in a single python script.
http://amoffat.github.com/pypandora
Quickstart:
$ python pypandora.py
Result: