Chapter 13. Data Manipulation

I'm a lumberjack, and I'm okay! I sleep all night and I work all day.

This chapter provides information concerning how to use Python for data parsing and manipulation. You will learn how to interpret XML, SGML, and HTML documents and how to parse and manipulate email messages, among other things.

Parsing and Manipulating Data

As you might already know, Python can be used as an effective and productive tool to parse and manipulate information from the Web.

This chapter covers modules that support encoding and decoding of data handling formats, which are largely used in Internet applications. Here, I expose you to modules, such as xmllib,sgmllib, and htmllib, which are standard library modules for processing the main markup ...

Get Python Developer's Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.