- Author: David Mertz
- Format: TXT
- Price: free
This book is an example-driven, hands-on tutorial that carefully teaches programmers how to accomplish numerous text processing tasks using the Python language. Filled with concrete examples, it provides efficient and effective solutions to specific text processing problems and practical strategies for dealing with all types of text processing challenges.
The book begins with an introduction to text processing and contains a quick Python tutorial to get you up to speed. It then delves into essential text processing subject areas, including string operations, regular expressions, parsers and state machines, and Internet tools and techniques. Appendixes cover such important topics as data compression and Unicode. A comprehensive index and plentiful cross-referencing offer easy access to available information. In addition, exercises throughout the book provide readers with further opportunity to hone their skills either on their own or in the classroom. Source code, examples, and a regular expression chart are also provided on the author’s website.
- Python Basics
- Basic String Operations
- Regular Expressions
- Parsers and State-machines
- Internet Tools and Techniques
- A Selective and Impressionistic Short Review of Python
- A Data Compression Primer
- Understanding Unicode
- A State-machine for Adding Markup to Text
- Glossary Terms