Simple, Pythonic text processing