Getting started with pyparsing
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 libr...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol, California :
O'Reilly Media
2008.
|
Edición: | 1st edition |
Colección: | O'Reilly short cuts
O'Reilly shortcuts. |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627457006719 |
Tabla de Contenidos:
- ""What Is Pyparsing?""; ""Basic Form of a Pyparsing Program""; ""Import Names from Pyparsing""; ""Define the Grammar""; ""Use the Grammar to Parse the Input Text""; ""Process the Results from Parsing the Input Text""; """"Hello, World!"" on Steroids!""; ""What Makes Pyparsing So Special?""; ""Parsing Data from a Table�Using Parse Actions and ParseResults""; ""Extracting Data from a Web Page""; ""A Simple S-Expression Parser""; ""A Complete S-Expression Parser""; ""Parsing a Search String""; ""Search Engine in 100 Lines of Code""; ""Conclusion""; ""Index""