O'Reilly logo

Core Python Applications Programming, Third Edition by Wesley J. Chun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Text Processing

As a developer, I prefer editing in plain text. XML doesn’t count.

—Wesley Chun, July 2009(verbally at OSCON conference)

In this chapter...

Comma-Separated Values

JavaScript Object Notation

Extensible Markup Language

Related Modules

Regardless of what type of applications you create, inevitably, you will need to process human-readable data, which is referred to generally as text. Python’s standard library provides three text processing modules and packages to help you get this job done: csv, json, and xml. We’ll explore these briefly in that order in this chapter.

At the end, we’ll merge together XML along with some of the client-server knowledge you acquired from Chapter 2, “Network Programming,” and show ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required