the whole world burns

Archive for category 'python'

Python Logging 101


Easy introduction to the Python logging module by its author. Short version: it's great.

Sexy Lexing with Python


Using the undocumented (?!) re.Scanner class?

SLiP - Pythonic shorthand for XML


It's even based on tokenize.



Webstemmer is a web crawler and HTML layout analyzer that automatically extracts main text of a news site without having banners, ads and/or navigation links mixed up.

CPython simpleQL: build SQL from generator expressions


It's a brilliant/evil hack; it works by getting the expression source from the frame and building an AST from it. Lazyweb request: LINQ. (PyNQ?) ;)

LOLPython - Python LOLCode dialect


yield 1 == U BORROW CHEEZBURGER, heh.

Small things, links and miscellany, sparkling with light. Sam's tumblelog.

Related Tags