Getting Started with Pyparsing (pdf)

Datasheet

auteur(s)

Paul McGuire

editie

1

ean

9780596514235

aantal pagina's

65

publicatie datum

2007-10-05

taal

EN

formaat

PDF

bestandsgrootte

624.05 KB

Meer informatie

Need to extract data from a text file or aweb page? Or do you want to make yourapplication more flexible with user-definedcommands or search strings? Doregular expressions and lex/yacc makeyour eyes blur and your brain hurt?

Pyparsing could be the solution. Pyparsingis a pure-Python class library thatmakes it easy to build recursive-descentparsers quickly. There is no need tohandcraft your own parsing state machine.With pyparsing, you can quicklycreate HTML page scrapers, logfile dataextractors, or complex data structure orcommand processors. This Short Cutshows you how!