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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.