Learning Python, 4th Edition
by Mark Lutz
Regular Expressions Cookbook
by Jan Goyvaerts; Steven Levithan
Python Essential Reference, Fourth Edition
by David M. Beazley
Programming Python, 3rd Edition
by Mark Lutz
Python Cookbook, 2nd Edition
by Alex Martelli; Anna Martelli Ravenscroft; David Ascher
Need to extract data from a text file or a web page? Or do you want to make your application more flexible with user-defined commands or search strings? Do regular expressions and lex/yacc make your eyes blur and your brain hurt?
Pyparsing could be the solution. Pyparsing is a pure-Python class library that makes it easy to build recursive-descent parsers quickly. There is no need to handcraft your own parsing state machine. With pyparsing, you can quickly create HTML page scrapers, logfile data extractors, or complex data structure or command processors. This Short Cut shows you how!
Some information on this page was provided using data from Amazon.com®.